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.
Hi @Trudy P Claspill
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}}
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:
https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Cascading-select-custom-field
What are the Status values in your workflow? And what are the values available in the Cascading Select field?
Thanks, this worked for me!
It looks like you're new here. Sign in or register to get started.