Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Transition to the previous status of an issue using automation rules with user restiction-Jira Cloud

Wasim Ansari November 1, 2023

Hi ,

I have found an article, how someone undo the current statuses but after the implemention the rule functionality as mentioned in the document is not worked. It showed an error after the rule was executed

"Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID or untranslated name for issues (with current status):

2 answers

1 accepted

0 votes
Answer accepted
Wasim November 3, 2023

Hi Folks,

 

I have figured it out the problem here, we have to set the owner and Actor to be same the person who will be going to execute the automation rule.

Now It is working as excepted!!

If someone has the same requirement they could use the same step to undo the transition using automation rule.

updated_automation_rule.PNG

I created a custom field to store the previous status ID and put the Jira smart value  {{fieldChange.from}} to extract the status id into the old status ID.

When the condition is true it will redirecting the destination status to this status ID using these smart value {{issue.old status ID}}.

 

Note : create one self_loop status namely "UNDO" then perform the updated automation.

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 3, 2023

Glad to know you found the solution.

Please can you mark the Thread as accepted, so that this becomes more visible to the other community members

Like Wasim Ansari likes this
0 votes
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 1, 2023

Hi @Wasim Ansari ,

Please can you share the workflow and which transition you're trying to perform?

The error shown is when the transition from STATUS A to STATUS B doesn't exist, in order for this to work there has to be a transition available.

Wasim November 3, 2023

Thank you @Jehan Bhathena  for the quick response, the issue got resolved and I dropped the detailed answer for this!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events