Forums

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

Back to previous state

Mkurama
Contributor
July 9, 2023

Hi all,

I have a workflow which has 4 step:

To Do ==> In Progress ==> Done

All ==> Cancel

 

I want to add feature that back the issue to previous state if it's in "Cancel".

 

Example: The issue state is In progress and move it to Cancel state. Now I want to back the issue to In progress state. Is Jira support this case?

 

Thanks.

4 answers

2 votes
Carlos Garcia Navarro
Community Champion
July 9, 2023
Evgenii
Community Champion
July 9, 2023

Hi, @Mkurama 

Just wanted to add to @Carlos Garcia Navarro answer, one small, but important detail - when you're making transition from state, where issue is closed and resolution is set, don't forget to add one postfunction in transition, to clear resolution.

image.png

image.png

Like Carlos Garcia Navarro likes this
0 votes
Evgenii
Community Champion
July 9, 2023

@Mkurama 

I think, I understood your idea. You want to transition issue to previous status, with automatical selection of previous status. 

I'm afraid, it's can't be made with standard functions of Jira Server.

I can suggest solution with ScriptRunner, or, maybe, Automation, but I'm not sure that you have it.

And, in any case, you still need to make transitions from Cancel to other states.

0 votes
Mkurama
Contributor
July 9, 2023

Dears @Carlos Garcia Navarro @Evgenii @Sayed Bares [ServiceRocket] 

I really appreciate your suggestions. The workflow actually complex a little bit, I used the workflow above to deliver the case. Is there any solution instead of link Cancel state to all the other states?

 

Thanks a lot.

0 votes
Sayed Bares [ServiceRocket]
Community Champion
July 9, 2023

@Mkurama  Yes, just add a transition that goes from Cancel to your desired status. 

Suggest an answer

Log in or Sign up to answer