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 that will be checked againstanalyzed by the defined rules. The combination of the 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 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.
Once you have defined the source field 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.
| sss |
|
UI Expand | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
You can write three types of rules as in the following options:
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 operators. |
UI Expand | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Use case and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|