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

Assets Automation: Validate Syntax for Object Attributes in Automation is failing

XMLWordPrintable

      Issue Summary

      The Validate Syntax present on the Edit Issue action and the IQL condition within automation is failing for Insight Custom Fields and Object Attributes, with the following error:

      An unknown error occurred. Please reload and try again.

      Steps to Reproduce

      1. Create a new Automation Rule > Any Trigger;
      2. Add a conditional like "IQL condition"
      3. Add an action like "Then: Edit Issue Fields"
      4. Inside this Edit Issue Filed, select an Insight Custom Field, and on the syntax field add something like object attribute = "attribute value":
      5. Click on the "validate syntax" and see the following error:

      Expected Results

      The Syntax Validation should happen for the values added on the IQL/JQL field or in the IQL condition.

      Actual Results

      The below error is thrown in the UI:

      An unknown error occurred. Please reload and try again. 

      Workaround

      Don't validate the syntax in the rule. Instead, validate it in the object schema and enter the AQL in the rule. The rule should work fine.

              7260236ab89d Justin King
              rsilva@atlassian.com Rodrigo Silva
              Votes:
              34 Vote for this issue
              Watchers:
              37 Start watching this issue

                Created:
                Updated:
                Resolved: