Skip to content

Jira issues - Return multiple Jira projects and allow filtering

What does this MR do and why?

Return Jira issues from multiple Jira projects according to the project param submitted from FE

Issue: #451321 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

b332dfc6-f25c-4167-aa2d-8558f5e5a9bb

Before After

How to set up and validate locally

  1. Enable Feature Flag multiple_jira_project_keys
  2. Enable jira integration for the project you want to view jira issues for
  3. In the integrations configuration form you can either 1) leave the project_keys blank or 2) populate it with multiple jira keys(comma separated) (the keys should be valid jira keys otherwise the jira api will raise an error)
  4. Now visit the page plan -> Jira Issues (Under the project)
  5. If you set the project_keys as blank the api should return all jira issues from all projects and display them
  6. If you provided values for project_keys (eg TEST,JR) then you should see only jira issues for TEST and JR projects
  7. While you are in the jira issues page you add an extra param project in the url (there is no UI yet), if project param is provided it should filter the jira issues according to the param (eg <>?project=TEST)
Edited by Ivane Gkomarteli

Merge request reports