Add preprocess milestone check when importing issues via csv
What does this MR do and why?
Following !113474 (merged) this MR also adds a line in the notification email when there are missing milestones in the csv file being imported.
Closes #396439 (closed)
Screenshots or screen recordings
Sample email response:
How to set up and validate locally
- Have a csv of issues with milestone
- Go to the issues list of a project
- Import CSV to the issues list
- Check the
letter_opener
for incoming mail.👉 http://gdk.test:/rails/letter_opener.
- You can see the text versions by clicking the plaintext link in the top right hand corner of each mail.
The email should have an error message if the milestones do not exist but it should not have any error if the milestone exists in the project or group.
Other testing options can simulate !113474 (merged)
Note: Assigning the milestone to the issue during import will be covered in !112204 (merged)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Grzegorz Bizon