Is it possible to condition Destination Step in Transition depending on some previous Step?

1. I have "Put on Hold" transition from more than one step to "On Hold" Step (in a custom workflow).

2. The idea is to have "Reactivate" transition with ability to return from the "On Hold" step/status back to the initial Step/status (exactly that one I started from).

I've not yet found any ways to do that (like using Conditions, Validators and Post-Functions). Probably, it is not possible, as the worklfow engine uses "hardcoded" Destination Steps. What do you think?

Thank you!

1 answer

1 accepted

1 vote
Accepted answer

It is possible, but you need to set up a transition back to every status you want to go back to, and then protect them all with a condtion like "previous status was", so that only one is ever present to the user.

Jira doesn't have any conditions that do that, as you've discovered, but I've done something similar using the Jira Misc Workflow Extensions. From memory, that's not installed in OnDemand though, so you can't do it.

Thank you, Nic.

Yes, as you said I tried to play with "previous status was", just no way to trigger the Destinations.

About Jira Misc Workflow Extensions: for the stand-alone JIRA installation (not OnDemand), it seems, it is about some kind of advanced configuration, is it? I am judging by the fact that Jira Misc Workflow Extensions is fully ebabled in my OnDemand instance, and the functionality sought is not available..

No, a transition has to have a fixed end point. That's why you have conditions - to block and hide the ones that have the wrong end-point for the situation.

If you have that plugin, then you should have "previous status" as a condition.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,091 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you