Previous Status Condition

A workflow condition that allows you to hide/show a particular transition from the list of available workflow actions, based on the previous status(es) of the issue.  The transition on which the condition is configured will be available only if the issue has previously been in the any of the selected status(es). You can customize the previous status(es) to be considered, using the options provided as a part of the condition.

The transition can be hidden when the issue has not been in any of the selected status(es), using the Reverse condition option.

To add 'Previous Status Condition' to a transition :

  1. Click Edit for the workflow that has the transition you wish to configure the condition on.
  2. In the Workflow Designer, select the transition.
  3. Click on Conditions in the properties panel.
  4. Click on Add condition.
  5. Select Previous Status Condition from the list of conditions.
  6. Click on Add to add the condition on the transition.
  7. Select the previous status from the Previous Status field.
  8. Select the options provided to add the required parameters.
  9. Click on Add to add the condition to the transition.

Related links :

Refer to the Use cases for conditions page for use cases for this condition.

When you add this condition to a transition with the required options, the add-on checks the history of the status field. If the issue has been in any of the selected status(es) before, then the transition will be available to the user. If not, the transition will be hidden. 

Customize this condition using the additional options provided as a part of the condition. The options are:

Options

  • Most recent status only

Checks only for the most recent status of the issue, excluding the current status. The transition will be available if any of the selected status(es) is the latest status the issue was in, excluding the current status.

  • Include current status

Checks the current status of the issue, in addition to the previous statuses. The transition will be available only when the issue has been or is currently in any of the selected status(es).

  • Ignore auto-transition (loops)

Ignores the auto-transitions (transitions that don’t change the status of the issue) while checking for the previous status of the issue.

  • Reverse condition

Checks that the issue has not been in any of the selected status(es). The transition will be available only when the issue has not been in any of the selected status(es).