Versions Compared


  • 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 SuspendedRequest Information,  ...

For workflow like beside, with JIRA out of the box, you will have :

  • to create a transition from each Step where you want to implement a suspensive Steps.
  • During these transitions, you would have to memorize from which Step you come from.
  • From this suspensive step, you would have to create a transition from which you come from, with condition based on the memorized Step.

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, also, more simple to have :

  • One Global Transition to the suspensive Step or few Transition from a part of Steps
  • And one transition One recursive Transition from this suspensive Step to itself with the Back To Previous Post-Function

Configuring the Feature

To configure the use this Back To Previous Post-Function, please follow these steps :

  • Create you suspensive Step,
  • Append incoming transitions (One Global Transition or few Step Transitions, depending your needs)
  • Append a Recursive Transition
  • It will give by example such below Steps
    Image Added
  • On this Recursive Transition, you will have just to add  the 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 Function

  • When added, the Post-Function should has to be the first one of defined Post-Function (its weight is set to 1).
  • You will end up with a transition looking like: 
    Image Modified
    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="">fr.alkaes.myaawf.workflow.postfunction.BackToPreviousStepFunction</arg>
  • When the Post-Function will be executed, it will check for Transition History, and will identify the previous Step (different from the current), and then it will create a new Step occurrence in the Workflow, like if there was some outgoing transition to this previous Step.

titleSee also ...

Post-Function allowing a transition Back To Previous Step.


On this page:

Table of Contents