Skip to content

Jira issues - Format project_keys before save

Ivane Gkomarteli requested to merge ig-format-project_keys-before-save into master

What does this MR do and why?

Format project_keys array before saving to the database.

  • Strip spaces from each element.
  • Ignore nil and empty elements.
  • Remove duplicates.

Update find_issue method to check if issue_key is allowed or not when when Flag :jira_multiple_project_keys is enabled.

Resolve issue: #454381 (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

Screen_Recording_2024-04-16_at_14.58.31

How to set up and validate locally

  1. Enable Feature Flag :jira_multiple_project_keys
  2. As an admin edit Jira integration configuration
  3. Under the issues section there will be a **Project keys ** where you provide different values for testing.
Edited by Ivane Gkomarteli

Merge request reports