Render Create Issue: Jira
Summary
If either a path* for creating a gitlab or jira issue is given, then it renders a "Create Issue" or "Create Jira Issue" button. If both are present then Jira issues take precedence. If there is an existing issue the button also won't render.
\*
vulnerability.create_vulnerability_feedback_issue_path
/ vulnerability.create_jira_issue_url
Endpoints
Pipeline
POST /security/security-reports-fresh/-/vulnerability_feedback
MR Widget
Same as Pipeline
Notes
Both data fields currently missing.
When there are more than one action buttons available, they get moved into a split-button (see screenshots below).
Screenshots
Simple
Split Button (multiple actions)
Testing
-
This may require modifications to existing E2E tests. Run e2e:package-and-test
in the MR and review results.
Edited by Harsha Muralidhar