Create missing Vulnerabilities::ExternalIssueLinks for Vulnerabilities created via Web UI
Implementation plan
- Create a batched background migration and in it:
- Find all projects with Jira integration and vulnerability creation enabled
- Iterate over them in sub batches
- Use the finder used in
/-/integrations/jira/issues
for each project to get a list of vulnerability_ids - Create a
Vulnerabilities::ExternalIssueLink
for theVulnerability
records that don't have it.
Edited by Michał Zając