I would like to know if there is an option to return to the previous status in JIRA workflow. For example I have open,Development in progress, Testing in progress and closed in a workflow. User working on the issue which is in 'Development in progress' moved to 'Testing in progress' unknowingly/ or by mistake. So is there a way to get back to the previous status.
Any help provided will be helpful to us.
That would create a lot of transitions back and forth between all the status in the workflow. I have 12 statuses and 20 transitions in the workflow, applying back and forth transitions will make the workflow more complex.
I am thinking is there any other way so that it could ease the process. please let me know.
John is absolutely right - a workflow is a model of your process. You have a complex process and you need to reflect that in the workflow.
I would share transitions where possible though - when creating a transition back to X, have a look at the existing transitions going into X - you may well be able to reuse them.
The alternative would be activating hidden transitions back to status and placing a a transition back to the status itself that would activate the appropriate hidden transition.
A new custom field that would record what the previous status was etcetera.
Not really worth it I'd assume, and if you didn't understand my proposal you probably shouldn't attempt to maintain such a solution in your workflows.
There is the "Undo transition" plugin which proved very useful to us. It demands that the user who made the transition undo's it however. https://marketplace.atlassian.com/plugins/nl.avisi.jira.plugins.undo-transition-plugin/server/overview
If there is no option to go back on the issue then the workflow was configured to not allow you to backwards in the process.
Contact one of your JIRA administrators and explain your problem, there are a number of solutions they could try to unblock you.
Comment back if you'd like specific help changing the workflow to allow you to go back.
You need to look at the workflow and check that it has transitions that allow you to go "back". If it does not, or you cannot see these transitions, talk to your administrators - they need to add the transitions for you and/or check the conditions to ensure you can use them.
I have a complex workflow, which allows many of the states to transition to a Needs More Info state. instead of creating a transition from Needs Info back to all the incoming states and relying on the user to determine what state to put the issue in, I would like, once the info is provided the user can select back to previous state.
Are there any plugins or trigger.... that would allow this?
You can use the Jira Misc Workflow extensions for that.
It is however not possible this way to only have one transition, as you can only reuse a transition when it goes to the same status. If the destination status is different you will need to use a different transition name. But you can work around that my adding blank spaces at the end of the name of the transition. Like: "Provide Info", "Provide Info ", "Provide Info ", etc.
The way JMWE can do this is by adding the Previous Status Condition to the transition. That way the issue will only show the "Provide Info" transition that goes to the status it had before you transitioned to Needs Info, instead of all possible "Provide Info" transitions.
Important tip: While adding this condition you can select the previous status, but also make sure that you select the options "Most recent status only" and "Ignore Auto-transitions (loops)". That last one is especially important if you can transition from "Needs Info" to "Needs Info", because if you don't add that you will end up in a situation where you can't move away from the "Needs Info" anymore.
Actually there is an option. It`s called condition. If you want to let user return only to the previous status then set the Condition that allows to do it only when the 'Previous status' is equal to the status you are trying to move to. It`s important to choose "Only the most recent" option
Sofmobile just released a plugin aimed to solve the issues discussed on this thread. Find it on the market - https://marketplace.atlassian.com/apps/1223312/sofmobile-teleport-for-jira
Documentation and how-to - https://docs.sofmbl.com/display/ST/Sofmobile+Teleport+for+Jira
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