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

Compare with Current View Page History

« Previous Version 8 Next »

The Update fields based on rules post function allows us to update a single issue field according to a set of rules.

Configuration

Target field

Select the field to be updated by the first matching rule, e.g., Summary, Description, Assignee...etc. 

Source field

Select the field to be checked against regular expression rules.

Rules

Define and configure the rules to be evaluated. The following rules are available:

Text comparison

Keyword

Enter plain text and optionally use field codes to insert field values.

Value

Enter plain text and optionally use field codes to insert field values.

You can try your expressions by clicking the run button on the top right of the JQL expression box.

Logical expression

Expression

Enter plain text and optionally use field codes to insert field values.

Value

Enter plain text and optionally use field codes to insert field values.

You can try your expressions by clicking the run button on the top right of the JQL expression box.

Regular expression

Expression

Enter plain text and optionally use field codes to insert field values.

Value

Enter plain text and optionally use field codes to insert field values.

You can try your expressions by clicking the run button on the top right of the JQL expression box.

Additional option

You have the option Ignore case (search will be executed case insensitive).

Additional options
  • 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.
Conditional execution

You can optionally specify a logical expression to define the circumstances (or conditions) under which the post function should be executed.

The result of the logical expression must return a boolean value of either:

  • true → the post function will be executed
  • false → 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

Run as

Choose which user* will be able to execute this post function. By default it is set to the Current user.


Use case and examples


If you still have questions, feel free to refer to our support team.