a) Workflow has a status called PAUSED, and I'm saving the name of the current status of a task in a custom field (called statusBeforePaused) when any task is transit to this PAUSED status. This is working fine.
There is a transition from status PAUSED to RESUMED.
b) Now, I wanted to add a rule (upon transiting the task from Paused to Resumed) and wanted to set the status of the task to value saved in the custom field (statusBeforePaused) which can be "In Progress", "Testing", etc.
Can anyone did same automation or can help how to do the 2nd part mention above?
Hi @Usman Ali , welcome to the Atlassian Community and thanks for your post.
I would use an IF / ELSE condition to do this
So, here what I am trying to show is that you evaluate the custom field, using a Smart Value, in the IF condition. If the previous status custom field is 'In Progress', then you can specify the action to be to transition the issue to the status of 'In Progress'.
You can then have either a single or multiple elses (depending on how many statuses you can have in the custom field) and you would evaluate, okay, if the custom field isn't 'In Progress' but 'Testing', transition the issue to the 'Testing' status, and so on.
I would test something like this and see if it works.
If you have any trouble or errors, write us here and we can try to help.
Best wishes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.