Fix query for finding existing Jira issues for vulnerabilities
What does this MR do and why?
Fix query for finding existing Jira issues for vulnerabilities
Include the older Jira query with "OR" clause when querying for linked Jira Issues. Fixes a regression introduced in !201672 (merged) and re-aligns with the functionality described in the docs.
We now include both the new and old query as removing either will cause breaking changes.
References
Screenshots or screen recordings
How to set up and validate locally
- Setup Jira integration for a project with existing vulnerabilities
- Pick a vulnerability and grab the
vulnerability_id - Create a Jira issue with the string
/-/security/vulnerabilities/<vulnerability_id>somewhere in the issue description - Reload the page for the vulnerability and the Jira issue should be linked
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #577409 (closed)
Edited by Harrison Peters