Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Cloud

This is the documentation of JSU for Jira Cloud. If you are using JSU on Jira Server or on Jira Data Center, see our JSU Server/Data Center documentation.

Description

The 'Follow Up Transition' Post Function will evaluate the Workflow Conditions of all the next transitions on the target status of the current transition. If exactly one condition is valid, that transition will be triggered as a 'follow up'.

Consider the following workflow:Image Removed

...

  • Our issue has a mandatory number custom field.

  • At the end of the 'Go' transition, we have configured to 'Follow Up Transition' Post Function.

  • Each transition leading away from the status 'Junction' have workflow condition:

    • 'Under Five' has the condition: Number field < 5?

    • 'Exactly Five' has the condition: Number field == 5?

    • 'Over Five' has the condition: Number field > 5?

  • When the user performs the 'Go' transition, this will always trigger a follow-up transition.

For example, if the user enters Number=3 during the 'Go' transition, he will end up at the status 'In Progress'. If he enters 42, this will lead him to 'Closed'.

...

Let's continue the example from above, where a number field is evaluated. We will configure three conditions; one for each outgoing transition from the 'Junction' status.

Under Five

...

Exactly Five

...

Over Five

...

Asynchronous Execution

Include Page
Asynchronous execution
Asynchronous execution

Examples

Here are some more ideas on how you might use the 'Follow Up Transition' Post Function.

...

A simpler more common case is, that you have only two transitions leading away and you evaluate basically the same condition, but at one condition negated.

  • a == b? 

Again you can use the Value Field Condition Conditions for this setup.Image Removed

...

  • Check it: 'Follow Up Transition' Post Function

  • Yes: Condition a == b?

  • No: Condition a != b?

Fast Forward

Some extra steps in your workflow might be only necessary if some condition is not fulfilled. Otherwise, that step could be skipped.Image Removed

...

Management Approval

See the Use Case /wiki/spaces/JSUCLOUD/pages/27801892 for Conditional Approval Process Use Case for another real-life example.

...

Usually, the problem can be tracked down, by manually walking through what the follow up post function would do:

  • If exactly one condition is valid

  • that transition will be triggered

(info) It's important that you do your analysis with the same user, that got stuck in the Junction status. There might be issues with permissions, that could lead to a different result, depending on the user performing the transition.

If you now look at such an issue , which that got stuck in the Junction status: How many transition buttons does it have? Only if there is exactly one transition button, 'Follow up' will be triggered. If you have none or more than one transition button, you have to review your workflow conditions on the transitions leading out from the Junction status.

...