Disables validation for inactive Jira integration
requested to merge 357810-jira-project_key-is-validated-even-when-integration-is-not-active into master
What does this MR do and why?
By default, we don't validate integrations when they are not set to active.
We want to be able to save inactive
integrations without providing project_key
.
Currently we are receiving following error:
The form contains the following error:
Project key can't be blank
Expected behaviour:
Jira settings saved, but not active.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Visit any project's integration page such as
http://localhost:3000/flightjs/Flight/-/settings/integrations
- Scroll down to
Jira
inside theAdd an integration
section - Click on the
Jira
link - Uncheck the
Active
checkbox and check theEnable Jira issues
checkbox - Click on the
Save changes
button
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 #357810 (closed)
Edited by Bojan Marjanovic