Skip to end of banner
Go to start of banner

Value Field Precondition

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

JSU for Jira Server/Data Center

This is the JSU for Jira Server/Data Center documentation. If you are using JSU on Jira Cloud, see the JSU Cloud documentation.

Description

The 'Value Field' check will compare the current value of a field against a predefined value. It can compare strings, numbers, or option IDs. For select fields, you may compare either by string or option ID. The ID may be better, as the label of an option may change over time; the ID does not. If a field can have several values (like components), it is enough if one of the values matches it.

Configuration

You must specify the field and value that will be the prerequisite for the check. For example:

If you choose the comparison type String, only '=' and '!=' are valid options. 
You may leave the value empty and choose comparison type '!=', to tell that a given field is required for the condition. 
For date fields without time, use the format 'yyyy-MM-dd' for values, and for those with time 'yyyy-MM-dd HH:mm'. 
Example February 12th 2014: 2014-02-12, at 8:05 AM: 2014-02-12 08:05, at 4 PM: 2014-02-12 16:00.

For information on how to configure a check for a workflow transition in Jira, see the Jira documentation.

Example

A workflow is configured so the 'Start Progress' transition has the 'Value Field' check set to 'MultiSelect' = '10021' (option ID). A user viewing an issue in that workflow will not see the 'Start Progress' transition unless 'MultiSelect' has at least the option with ID '10021' chosen.

Supported Field Types

JSU supports many different field types such as system fields and custom fields. However you should be aware, that not all field types are supported, and not in all combinations. We aim to cover the most important field types and are continuously adding and improving how different field types are supported. Some custom fields of other third-party apps might never be supported.

You should always test anything you do with the JSU app with fields. You can try it with a free 30-day evaluation license.

You can configure JSU’s preconditions in the following ways:

  • Negate the precondition result

  • Combine the result with the result of previous preconditions using the following options:

    • 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 execute the post function

    • OR: Only one of the preconditions has to be true to execute the post function

Example of a precondition configuration as described on this page.

Learn more in Workflow preconditions.

  • No labels