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

Improve error message in Automation when a Form is not editable

XMLWordPrintable

    • 1
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      When a work item is set to non-editable by the workflow, through the property "jira.permission.edit.denied", if an automation rule tries to change the status of a Form attached in the work item, the rule will fail with this error message:

      com.codebarrel.automation.component.proforma.api.error.explanations.form.not.found

      Steps to Reproduce

      1. Have a workflow that sets the property "jira.permission.edit.denied" in a certain status.
      2. Have an automation rule that is triggered when a work item is transitioned to that status, or after it (so the property is set to the work item); and that uses the action "Change form status".
      3. Execute the automation rule.

      Expected Results

      The automation rule should show a more meaningful error message. For example: "Form can't be changed because the work item is not editable".

      Actual Results

      The automation rule fails and show this error message in the Audit Log:

      com.codebarrel.automation.component.proforma.api.error.explanations.form.not.found 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              ad5abbdc65b1 Marco Velasco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: