Linked Status Precondition

JSU 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.

Description

This check will not pass, if not all linked issues (of a certain link type), have a particular status.

For example in the Testing and Fixing Bugs use case, the tester shall not set a test to 'Ok' as long as there are still open bugs for that.

Configuration

You can define a custom error message for JSU validators to provide a clear explanation of the situation to your users.

If you leave this field empty, a default error message from Jira will be displayed on validation errors. This might be a bit too technical, making it difficult for you users to understand the cause of the error. 

(warning) Do not use this check in a transition that will be triggered by a Linked Transition . (The check would still get the old status of the issue initiating the Linked Transition.)

(warning) Linked Status Validator cannot be used in the Create transition (the one which is performed, when a user creates a new issue). This is mainly due to technical reasons that at stage the 'issue linking' is not established and the validator cannot find the linked issues and also not validate it.

Example

Bug 'BF-25' has note yet bee fixed, it is still in the status 'In Progress'. When the user tries to click on 'Ok' on the corresponding test, he will get the following message:

However, we allow the user to ignore all open bugs by ticking the corresponding checkbox.

Precondition Configuration

Preconditions can be configured in several ways:

  • A result of a precondition can be negated 
  • A result of a precondition can be combined with a result of previous preconditions using the following ways:
    • Discard the result of the previous precondition (Results of the previous preconditions are not taken into account)
    • AND (All of the preconditions have to be true to allow execute a post function)
    • OR (Only one of the preconditions has to be true to allow execute a post function)