hi I try to create one automation that permit copy the previous status (the a issue ) in the cascading option the a custom field (previous status)
Hello @Marcelo Ignacio Cid Abud
Please show us the Automation Rule you have created so far and tell us which part is not working the way you want it to.
The Idea is:
That when an issue goes to the dismissed state, the field in which state the discard occurred is filled automatically with the previous state (to which it was discarded), this field is a cascade field.
I'm looking for something like this {{issue.previousstatus.name}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because the trigger for your rule is Issue Transitioned you can use this smart value to get the previous Status from which the issue was transitioned.
{{#changelog.status}}{{fromString}}{{/}}
That will give you the previous Status value as a string. For more information refer to:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog--
I have not worked out how you would use that value to set a Cascading Select field yet, but it would likely involve using the Advanced Edit option and JSON as discussed here:
What are the Status values in your workflow? And what are the values available in the Cascading Select field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome!
If my responses helped you address your requirement please consider clicking on the Accept Answer button to mark your Question as Solved.
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.