Complex element
This workflow element is complex and maybe a little confusing for beginners. If you have any further questions, please contact us via our Customer Portal.
The universal issue field value condition is a powerful tool that allows you to check current and former values of an issue field.
It operates on all Jira standard and custom fields and compares them using field value, regular expressions and a number of other elements.
For example, you can build the following conditions using our solution:
- The summary contains a text "error".
- The assignee was (wherever in history) john.doe.
- The assignee is not empty.
- At least 2 components have to be selected.
- An issue has no more than 2 attachments.
- At least 1 document in the MS Word format (*.docx) is attached to an issue.
- The description previously contained some text.
- An issue was previously in the "In progress" status.
Element summary | |
---|---|
Status | CURRENT |
Version compatibility | 6.0.1 - Latest |
Supported | Yes |
Introduced in version | 1.0.0 |
Condition parameters
Select field
It's a list of all Jira (standard and custom) issue fields, project attributes, and some extra issue attributes like Attachments and a number of worklogs.
There are some limitations when you're using some specific values.
Field | Restrictions |
---|---|
Attachments | If you select the "number of elements", it provides a number of files attached to an issue. If the regular expression or field value option is selected, the attachment's names are processed (comma separated if more than one). This field must NOT be used with previous or historical value comparison. |
Number of worklogs | It always provides a number of entries in issue's worklogs, regardless of the comparison method you've selected. This field must NOT be used with previous or historical value comparison. |
Current User | It contains the login of the current user. This field must NOT be used with previous or historical value comparison. |
Project name | It's the current project's name. This field must NOT be used with previous or historical value comparison. |
Project key | It's the current project's key. This field must NOT be used with previous or historical value comparison. |
Project category | It's the current project's category name. This field must NOT be used with previous or historical value comparison. |
Compare type
You may select one of three comparison methods.
Option | Description |
---|---|
Compare Field Value | It compares the value of a selected field. If the field contains more than one option (e.g. a multi-select type field), all options are listed as a comma-separated text. |
Regular expression | It allows you to compare the field value (the same as described above) with a regular expression. |
Number of elements | It returns a number of elements in the field. If the field is a simple text or a number, it returns 1 (if the field is not empty). For multi-option enabled fields, the number of elements will be returned. An empty field is always a zero. |
Which value
This option allows you to choose which value will be used in a comparison.
- Current Value.
- Previous value (the last one).
- Any historical value (excluding the current value).
Operator & Case sensitivity
You can choose the operator for comparison and enable case sensitivity.
Text value
It's where you can type the desired value. For some fields, it can be a list of values.