Move `getJiraIssueTypes` to Vuex action
What does this MR do and why?
This MR is the first part of #342121 (closed), an effort to remove app/assets/javascripts/integrations/integration_settings_form.js
and move its current responsibilities to Vuex or existing Vue components.
In this MR, we tackle the getJiraIssueTypes
functionality. Primarily, we move getJiraIssueTypes
to the existing requestJiraIssueTypes
Vuex action (with the necessary modifications). This required that we make a few other changes here and there.
Functionality is unaffected; this is a typemaintenance change.
Screenshots or screen recordings
Video demonstrates that the functionality still works as expected.
How to set up and validate locally
- Enable and configure the Jira integration for the project. More information.
- Select
Enable Jira issues creation from vulnerabilities
checkbox - Observe. A dropdown should appear (in a loading state), and its options should soon be populated with some Jira issues.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342121 (closed)