In the workflow we are designing, there is a stage where we have realised that it makes sense to go back to a previous status based on the value of a field.
Is there a plugin or method (perhaps through scriptrunner) for doing this or should we start looking into coding a solution?
Any help would be greatly appreciated.
You need to build your workflow with that possibility in mind - have a transition back to the last status. You can protect it with conditions to limit who can use it. Then you can look into when it should be triggered, and maybe automating setting it back.
All you've said about a trigger though is "based on the value of a field". You might find it easier to prevent issues going into the status when the field would trigger the jump back, or you could remove the field from edit and force the user to use the transtion back through the workflow if they want to set the field to the triggering value.
Thank you for your help. The trigger is a yes/no radio button that confirms acceptance of values set at the previous transition. The idea was that a yes value would allow the transition to be carried out whereas a no value would jump the transition back to the previous status from which the values could be reset. But like you said, it may be easier to just modify the workflow with a transitional loopback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.