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 Server/Data Center

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

...

In the example above, when the user submits the budget, JSU will continue from the DECISION status and automatically forward the process to the correct status, depending on the business rules in place: here, Budget <= 1,000 OR Budget > 1,000.

How to configure this workflow

  1. From Project Settings, go to the approvals workflow that you want to edit.
  2. Click Edit to create a draft version of the workflow.
  3. Add JSU's Follow Up Transition post function in the to the Submit Budget transition to follow up next transition. The post function will evaluate (or equivalent transition in your workflow). This post function evaluates 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 is triggered as a "follow-up" transition.

  4. Set up two different Value Field Conditions for the transitions, "To be approved" and "Approve". You can choose the budget amount of budget above which your budget needs approval. In this case, we enter 1,000:
    1. If Budget > 1,000 on the To Be Approved transition, then the status moves to "TO BE APPROVED".
    2. If Budget <= 1,000 on the "Approve" transition, then the status moves to "APPROVED".

      Info

      We have carefully set these conditions so that always exactly one condition is valid. This way, the Follow Up Transition will always trigger one of these two transitions. The workflow will never be stuck at the DECISION status.


  5. Publish your workflow.
  6. Add the Budget custom field to your project screen before you move on with your issue creation. See Atlassian's guide to creating custom fields to learn how.

...