JIRA Integration - fetch available issue types for given configuration
Why are we doing this work
To properly configure Jira integration for vulnerabilities we need to be able to fetch available issue types defined in Jira instance: #8942[a4-2_Jira-integration_vuln-mgmt_Issue-type-selected.png]
To do that we want to provide a way to fetch and return them to the test
endpoint for Jira integration.
Relevant links
Non-functional requirements
- [-] Documentation: not needed
-
Feature flag: jira_create_issues_for_vulnerabilities
- might not be needed in this case, - [-] Performance:
- [-] Testing:
Implementation plan
-
backend modify test(_)
method inee/app/models/project_services/ee/jira_service.rb
to return list of available issue types for given Jira instance, -
backend modify service_test_response
method inapp/controllers/projects/services_controller.rb
(https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/controllers/projects/services_controller.rb#L62) to include data returned fromJiraService.test
method,
Edited by Alan (Maciej) Paruszewski