Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1230

Support the use of the smart values to retrieve the Status Category

XMLWordPrintable

    • 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.

    • Jira Software, Jira Service Management, Jira Work Management

      Issue Summary

      Automation is unable to retrieve the status's status category from an issue using the the smart values

      Steps to Reproduce

      1. Create an automation rule.
      2. Set a manual trigger or a scheduled trigger with a specific issue key JQL (key=xxx-123)
      3. Add a log action
        {{issue.status.statusCategory.id}}
        

      Expected Results

      Get the issue status's status category

      Actual Results

      Smart value does not return any value.

      Workaround

      1. Assign the following smart value to a variable:
        {{issue.status.statusCategory}}
        
      1. Extract the ID using a string function:
        {{<variablename>.substringBetween("id=",",")}}

              Unassigned Unassigned
              4c399280d82e Gerson Gutierrez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: