Value Field Precondition

 

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 precondition compares the current value of a field against a predefined value. It can compare strings, numbers, or option IDs. For select fields, you can 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), only one of the values is required to match.

Configuration

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

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.

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.