Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-9096

Editing or removing the options of a field that is part of an SLA goal query will prevent the SLA from being updated

XMLWordPrintable

      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

      1. Create an SLA goal using a field with predefined options (select list, cascading, etc);
      2. Go to the custom field configuration and change one of the options (in order to make the SLA query invalid);
      3. Try to apply any change to your SLA (add a new pause condition, for example)
      4. 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.

              8a3861d8a88c Manas Shukla
              vromero Victor Romero
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: