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:
Issue status is 15281
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.
Thank you so much - that is exactly what the challenge is! I somehow read past that additional node in the Atlassian documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.