This post function can be used to update a single issue field according to a set of rules.
Configuration
Select the field to be updated, e.g., Summary, Description, Assignee...etc.
The first rule matching the given expression will then update this field.
Select the field to be checked against regular expression rules.
Define and configure the rules to be evaluated. The following rules are available:
Rule | Keyword/Expression | Value | Additional option |
---|---|---|---|
Text comparison | Enter plain text and optionally use field codes to insert field values. | Enter plain text and optionally use field codes to insert field values. You can use both basic and advanced text parsing mode. | |
Logical expression | Enter plain text and optionally use field codes to insert field values. | Enter plain text and optionally use field codes to insert field values. You can use both basic and advanced text parsing mode. | |
Regular expression | Enter a valid regular expression and optionally use field codes to insert field values. This expression will then be evaluated against the selected source field. | Enter plain text and optionally use field codes to insert field values. You can use both basic and advanced text parsing mode. | You have the option Ignore case (search will be executed case insensitive). |
You can try your expressions by clicking the run button on the top right of the expression box.
Option | Description |
---|---|
Write protection | Do not overwrite the target field if it is already set. |
Evaluate all rules | Do not stop rule evaluation at the first match. Only applicable for multi-valued or temporary target fields. |
Update issue immediately | The field update results in a dedicated "Issue Updated" event and issue history entry. |
The result of the logical expression must return a boolean value of either:
true
→ the post function will be executedfalse
→ the post function will not be executed
Using the conditional operator, even complex or multi-layered conditions can be constructed.
Make sure to learn more about defining logical expressions and browse through the various examples here: Logical mode
Use case and examples
Title |
---|
No content found. |
If you still have questions, feel free to refer to our support team.