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, you can find the documentation here.

Configuration of Preconditions

Preconditions allow you to execute a post function under certain circumstances only. This allows you to create complex behaviour on your post functions, enabling you to let Jira perform more work for you.

In JSU Cloud, preconditions are not separate post functions, but part of a post function. Now you select your preconditions on the post function configuration screen.

Choose your Precondition

<screenshot>

Click the "Add Precondition" button and insert the precondition you want to evaluate.

Combine several Preconditions

Image Added

You can insert multiple precondition and combine them. For compatibility reasons, they are evaluated sequentially like they are on Jira Server.

You can also disable the precondition by unchecking the enabled flag next to the delete button. This will leave the precondition in your configuration, but it will be ignored.

The Post Function Side

<screenshot>

Your post function is always aware of the preconditions you configured. However, you still need to select whether you want the precondition to be true or false for the function to be executed.