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

Using currentReporter() syntax in automation AQL doesn't work

    XMLWordPrintable

Details

    Description

      Issue Summary

      currentReporter() syntax is not working in automation AQL. 

      Steps to Reproduce

      1. Have Asset object with Attribute that contains Jira user
      2. Create automation with issue created or manually triggered trigger 
      3. Add action to edit issue
      4. Edit the Asset custom field with AQL that contains currentReporter() syntax
        User = currentReporter() 
      5. Trigger the automation rule with issue with reporter that was set in the Asset object in step 1.

      Expected Results

      Issue current reporter is fetched and used in AQL

      Actual Results

      Automation rule execution has status Some Errors with action details:
      No objects were returned from query
      No fields or field value to edit for issues

      Workaround

      Use below smart value to fetch issue reporter:

       {{reporter}} 

      Note

      The above behavior has been observed additionally with the following smart value: {{reporter.displayName}}. The same workaround applies in this case.

      Attachments

        Issue Links

          Activity

            People

              7260236ab89d Justin King
              207d30156835 Ivan Chapistrak
              Votes:
              9 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: