Improve error message in Automation when a Form is not editable

XMLWordPrintable

    • 1
    • 2

      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

            Assignee:
            Unassigned
            Reporter:
            Marco Velasco
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: