Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This very powerful post function can be used |
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
UI Text Box |
---|
The Update fields based on rules post function allows us to update a single issue field according to a set of rules. |
UI Text Box | ||
---|---|---|
| ||
In this documentation and the post function configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional. |
Basic configuration*
Below you will find a detailed description of each parameter of the basic configuration of the function.
Target field*
Info | ||
---|---|---|
| ||
Select the field to be updated by the first matching rule, e.g., Summary, Description, Assignee...etc. |
Source field*
Info | ||
---|---|---|
| ||
Select the field to be checked against regular expression 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 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 update 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.
|
Rules*
Info | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Define and configure the rules to be evaluated. The following rules are available:
|
UI Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|
UI Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Enter a condition (Logical / boolean condition) using the JWT expression parser - full feature list syntax. You can even logically link and gather conditions in expressions as you like in order to map more complex conditions. Note | true ). |
UI Expand | ||||||
---|---|---|---|---|---|---|
| Choose which user* will be used to execute this post function. By default it is set to the Current user.||||||
|
Use case and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|