Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I record the last status was for an issue, then transition back to that status after a day?

Nathan Given
Contributor
September 19, 2019

I have a "frozen" status in my workflow.

I let people transition issues to that "frozen" status and I'm using Automation for Jira to auto transition those issues out of "frozen" back to an "Open" status after a certain number of days.

It works well.

 

But I want to make it better by auto transitioning the issue back to the same status it was in before it was transitioned to "Frozen".

So I think I need to record the "current" status prior to transitioning to frozen?  Any advice would be helpful here.

 

Thanks~!

1 answer

1 accepted

1 vote
Answer accepted
Brydie McCoy (CB)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2019

Hi Nathan,

We don't really support this very well yet (we are tracking this functionality here:  AUT-47).

For now, the best option would be to record the previous status id in a text custom field.  

Your first rule would have

  • Trigger: Field value changed with status
  • Edit issue and set the 'Previous status' field to  {{fieldChange.from}}

Your second rule could then transition to the issue to {{issue.Previous status}} using the 'Transition action'.

We'll hopefully make this easier in future, but we've got quite a few higher priority items in our backlog currently.

Cheers,
Brydie

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events