Migrate jira_issue_creation_vulnerabilities.vue to GlCollapsibleListbox
requested to merge 418081-migrate-ee-app-assets-javascripts-integrations-edit-components into master
What does this MR do and why?
This MR migrates ee/app/assets/javascripts/integrations/edit/components/jira_issue_creation_vulnerabilities.vue
to GlCollapsibleListbox"
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Pre-requisite: JIRA instance should be up and running. You can run it locally on docker with the following command: docker run --publish 8080:8080 --name jira --platform linux/amd64 registry.gitlab.com/gitlab-org/gitlab-qa/jira-gitlab:8.8-project-and-issue
Then you can run this test with GDK
JIRA_HOSTNAME="<JIRA_HOST>" JIRA_ADMIN_USERNAME="gitlab-qa" JIRA_ADMIN_PASSWORD="XXXX" GITLAB_ADMIN_PASSWORD="XXXX" GITLAB_QA_ACCESS_TOKEN=XXXX GITLAB_PASSWORD="XXXXX" QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://192.168.1.105:3000 ./qa/specs/features/ee/browser_ui/13_secure/vulnerabilities_jira_integration_spec.rb -- --tag orchestrated
- Visit Project -> Integrations -> Jira
- Scroll to Issues section
- Select
Enable Jira issues
, fillJira project key
, selectEnable Jira issue creation from vulnerabilities
- Verify the Jira issue types dropdown
To test it I used a test object in the state.js
jiraIssueTypes: [
{ id: '1', name: 'gl-issue', description: 'issue' },
{ id: '2', name: 'gl-bug', description: 'bug' },
{ id: '3', name: 'gl-epic', description: 'epic' },
],
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 #418081 (closed)
Edited by Anna Vovchenko