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

Accepted Answer
1 vote

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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,531 views 2 7
Join discussion

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