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, see our JSU Cloud documentation.


Tipinfo

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

...

You can combine several preconditions with a 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 opposite 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.

...

  • The post function should ignore the result of any precondition.
  • The post function should only be performed if the precondition is true.
  • The post function should only be performed if the precondition is false.

...

Be aware that all the relevant preconditions must be evaluated before the post function, that which relies on the result of those preconditions. Thus in the sequence of post functions/preconditions, you have to put the preconditions before the post function. See also the sample screenshot above with steps 5, 6, 7, and 8.

If you use several preconditions, you must combine the result either with AND or with OR. Otherwise only the last (lowest in the configuration) precondition will be relevant.

...