Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Usage cases
You want to go back to the previous Step where the Issue was before the current one. Classically, you have implemented a suspensive Step like Suspended, Request Information, ... For workflow like beside, with JIRA out of the box, you will have :
In worth cases, for a such workflow, you would have to manage at least 24 transitions. Good luck ... |
|
How it works
By defining this Back To Previous Post-Function in your workflow, you will be able to force as new Step, the Previous Step where the Issue was before to reach the current Step.
It will be more simple to have :
- One Global Transition to the suspensive Step or few Transition from a part of Steps
- And one transition with the Back To Previous Post-Function
Configuring the Feature
To configure the Back To Previous Post-Function, please follow these steps :
- Since this Workflow Function does not need to be associated with a screen containing the concerned CustomFields, the function can be added in any Workflow Transition.
It might be:- A Common Transition,
- Or a Global Transition.
- Add the Back to Previous Step to any wanted transition
For more information on adding a Post Function in Workflow, please see JIRA: Adding a Post FunctionImage Added
- When added, the Post-Function should be the first one of defined Post-Function (its weight is set to 1).
- You will end up with a transition looking like:
Image Added
And the XML Declaration as follow :
Code Block | ||
---|---|---|
| ||
<post-function > <function type="class"> <arg name="full.module.key">fr.alkaes.minyaa.jira-plugin-minyaa-workflowsback-to-previous-step-issues-function</arg> <arg name="class.name">fr.alkaes.myaawf.workflow.postfunction.BackToPreviousStepFunction</arg> </function> </post-function> |
Info | ||
---|---|---|
| ||
Excerpt | ||
---|---|---|
| ||
Post-Function allowing a transition Back To Previous Step. |
Panel | |
---|---|
On this page:
|