Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This very powerful post function can be used to update a single issue field according to a set of rules. You can use this function to construct multiple "if → then" rules. Once you have defined the source field, a rule and a value you have constructed the entire if clause. The next step is to define, which value the target field will be updated to, if the values match. This is the then part of your rule. |
UI Text Box | ||
---|---|---|
| ||
If used in the create transition, they need to be placed after the “Create issue initially” post function |
Configuration
UI Expand | |||||
---|---|---|---|---|---|
| |||||
Select the field to be updated, e.g., Summary, Description, Assignee...etc. that will be analyzed by the defined rules. The combination of this source field and the source value, as specified in each rule, builds the if part.
|
UI Expand | ||
---|---|---|
| ||
Select the field to be updated according to the rules. The rules will be processed in order. The first rule matching the given expression will then update this the target field. |
UI Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Define the rules for updating the target field and the corresponding target field values.
Rules can be written as line separated text in Expert mode or using the easy way in Table view. Select the field to be checked against regular expression rules.
| 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.
|
|
Examples:Refer to the old version of the postfunction for more examples |
. |
UI Text Box | ||
---|---|---|
| ||
Logical expressions are not analyzing the source field. Whereas text comparison and regular expression rules are checked against the source field value, logical expressions are independent of the source field value. Instead you will have to provide a logical expression using the Logical mode. Alternatively you could use the Update or copy field values post function and set values using multiple conditional operatorsYou can try your expressions by clicking the run button on the top right of the expression box. |
UI Expand | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Use case and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|