It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Want to perform 2 transitions by selecting one status

Hi guys,

 

I am jira administrator, as per the request user want to change particular status to previous status,, thier is only one Like Open to Resume , when user select Resume > issue automatically moved to previous status, previous will be any status from the workflow. 

 

How to perform this operation using fastrack transition ? Please suggest

 

Thanks

 

2 answers

1 accepted

0 votes
Answer accepted
Derek Fields Community Leader Dec 02, 2019

What makes this tricky is that Jira will only let you transition to a status that is explicitly permitted by the workflow. As I understand what you want, you want to be able to transition from Status A to Status B and have a generic "Resume" button that will take the user back to Status A. 

This is going to be a fair amount of work for something that is probably not worth it (in my opinion). You could do it by enabling "Allow all statuses to transition to this one" on every status. In the Condition, create a condition that only allows this to be used programmatically (hidden from all users). Then you would have a post-function script in the "Resume" button that would read the Previous Status field and execute the transition to that Previous Status. 

@Nic Brough _Adaptavist_ probably already has tested code to do something like this, so I will leave that to him to respond if he is so inclined.

Thanks a lot! Derek

 

I used the condition method, applied condition on each transition, transition will visible as per the custom field value. 

 

Which post function script do I need to use for this,  so that transition execute previous status, please suggest I want to know this.

0 votes

A transition can only result in a move to a single status.  That is what they are for!

I know our humans, and sometimes, robots, don't get the right transition and we want to trigger others when it's wrong.  Could you tell us more about your case(s)?

Hi Nic,

Actually if Previous Status (Custom Field) value is "Dev in Progress", then user click on Resume transition and then automatically change to Dev in Progress.

If Previous Status (Custom Field) value is "Ready for QA "then user click on Resume transition and then automatically change to Ready for QA.

I want to link one transition with multiple status and status changes as per custom field value .

or

we can do one thing that user click Resume status and add post function "fast track transition", so that after changing status to Resume , system will automatically change status to next transition like Dev in Progress or QA in Progress etc.

 

Please suggest , what will be the script for fast transition.

 

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you