-
Bug
-
Resolution: Unresolved
-
Medium
-
20
-
Severity 3 - Minor
-
5
-
Issue Summary
If you edit a custom field option that is part of an SLA goal and then applies any changes to this SLA, your changes are reverted after refreshing the page and no error message is displayed.
Steps to Reproduce
- Create an SLA goal using a field with predefined options (select list, cascading, etc);
- Go to the custom field configuration and change one of the options (in order to make the SLA query invalid);
- Try to apply any change to your SLA (add a new pause condition, for example)
- Save your changes.
Expected Results
Jira will display an error message saying there is an invalid value specified in one of the goals.
Actual Results
It seems that your changes were applied successfully. When you refresh the page you can see your changes are reverted.
The browser's console shows the message below:
{"errors":[{"errorMessage":"The option 'd' for field 'test4' does not exist. ","field":"jqlQuery"}],"reasonKey":"Update failed","reasonCode":"400"}
You can see this bug happening in this video.
Additional notes
The bug also happens when an organization that is part of an SLA goal is removed from the project.
Workaround
Fixing the invalid values will make it possible to apply changes to the SLA.