JIRA Integration - allow to configure issue type and creating issues for vulnerabilities
Why are we doing this work
We want to be able to enable creating issues for Vulnerabilities
using Jira integration. To do that we need to be able to configure it on Settings->Integrations->Jira page. To do that we need to extend the API to store Jira configuration with 2 fields:
-
vulnerabilities_enabled
(boolean, default: false) -
vulnerabilities_issue_type
(string, default: null, limit: 255)
#8942[a4-2_Jira-integration_vuln-mgmt_Issue-type-selected.png]
Relevant links
Non-functional requirements
- [-] Documentation: not needed
-
Feature flag: jira_create_issues_for_vulnerabilities
- not needed for this issue, storing configuration can be allowed without checking feature_flag and if feature is available for the license (similar to enabling issues for Jira), - [-] Performance:
- [-] Testing:
Implementation plan
-
database Create a migration for JiraTrackerData
to add 2 more fields (create migration), -
backend extend the API (https://gitlab.com/gitlab-org/gitlab/-/services/jira/test) to be able to save/view newly added fields
Edited by Alan (Maciej) Paruszewski