Versions Compared

Key

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

...

  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 to the Submit Budget transition (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 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 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.

...

This was only a bit of JSU in action. Subscribe to our YouTube channel and access more JSU use cases.
See our documentation for some more examples and configuration screenshots.

Need more information or help? Get in touch!