Hi,
How to make available just a back transition to the previous status?
I have the status called "Waiting for information" and you can transition to a number of statuses from that status... so when I go from the status "To Do" to the status "Waiting for information", then from the "Waiting for information" I can transition to all other statuses that have a transition to/from "Waiting for information", but I need to go back only to the previous status, i.e. "To Do" and not having available all other transitions...
Is there a way to fix this?
Many thanks! :)
Hi @Bojana Vasic,
One of the solution is to add a condition for each transition. There are many ways to do it (generally via add-ons).
Ex:
If you only want to see the button where it came from, than you can use some of these add-ons; Enhancer plugin, Script Runner, JIRA Misc Workflows etc. Than add "Previous Status Condition".
Second option is to add a new customfield (Ex: Prev Status) and fill it with the current status while transition.
Two ways to do it:
1. Only have the transitions you need in the workflow - you could edit the workflow and remove the "all" transitions, changing it so that you only have a forward and a back in the workflow.
2. Probably more useful for the use-case I'm imagining - add "conditions" to each of the transitions that says "only if this was the previous status". The down-side of this is that there are no conditions built into Jira that provide that, so you will need to find or write an add-on to provide that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can add a text custom field, for which you would set a value in every transition leading to the Wating for information status. The value for this field woud be the name of this transition. You can do it with the Update Issue Custom Field function.
Then you should add the Value Field condition to all transitions outgoing from the Waiting for information status. In this condition you check the created text custom field value with the name of the transition.
That is all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you want to hide other transitions but still make them available? In order to do this you need to modify your worklow and for example set some workflow conditions. Or simply delete those transitions that you do not want to have (or execute) and keep only the one back to "To Do".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all! I will use Script Runner - add "conditions" to each of the transitions that says "only if this was the previous status".
Kind Regards,
Bojana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.