Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule smart value to obtain workflow status

Ann Rumenapp
Contributor
March 25, 2025

In Jira Cloud, Company managed project, I have a custom workflow for the Task and Change Event issue types.  When the change event issue (in project 1) is transitioned from Plan & Design Complete Review to Delivery, the automation rule will create a task issue card in project 2.   The task card needs to capture the workflow status in the Components field.  When I run the rule with a log action on the issue status, the audit log shows the status as a number (15281) instead of the workflow status name (Delivery) that I was expecting.  Is there a trick to finding the workflow name?

 

Automation rule:

image.pngimage.png

 

 


Issue status is 15281

1 answer

1 accepted

2 votes
Answer accepted
Robert DaSilva
Community Champion
March 25, 2025

Hi @Ann Rumenapp , I want to re-iterate your question to make sure I understand. Your goal is to have the Automation return the name of the status for a given work item, and use that to populate a field in the create new work item action. The challenge you're hitting is that the `{{issue.status}}` smart value you're using is returning the Status' ID, not the name.

If that's the case, it should be relatively simple. The Status name can be captured using the Jira Smart Value `{{issue.status.name}}`. You can also look up many other smart values you can use here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

 

Hopefully that addresses your need! If not, please add a new comment and I'd be happy to help.

Ann Rumenapp
Contributor
March 26, 2025

Thank you so much - that is exactly what the challenge is!  I somehow read past that additional node in the Atlassian documentation.

Like Robert DaSilva likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events