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 JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, you can find the documentation here.

...

Tip

Adapted definition from wikipedia:

In Jira with JSU, a Precondition is a condition or predicate that must always be true just prior to the execution of a post function.


Configuration of Preconditions

...

Thus as Jira administrator, you will choose and configure Preconditions similar to a Workflow Post-Functions:

Image RemovedImage Added


Combine several Preconditions

You have to configure preconditions as separate steps in the workflow.

Image RemovedImage Added

You can combine several preconditions with logical operator such as AND & OR. However the concept of brackets is not supported. Instead the preconditions will be evaluated sequentially, as they are configured in the workflow.

You can also negate the result of a precondition. Like this, if the check of a precondition was successful, the result of the precondition will be negated and result as false. In the opposit case, when the check of the precondition was not successful, but you negate the result, it will end up as: true.
This might give you some more flexibility in some cases. Instead of negating the result of the precondition, you might also choose to only perform the post function, if the precondition's result is false.

Image RemovedImage Added

Enable your Post Function to be Aware of Preconditions

...

If you would like a post function to be performed only if a preconditions is true (or false), you have to configure that post function accordingly. At the beginning of the configuration screen of each post function from JSU, you will find a section like this:

Image RemovedImage Added

Here you can choose, if

...