On this page
Use case
Set a User Picker field with one or several users according to the options selected in several fields.
In this use case, the options will be Fruit and Apple in two Select List (single choice) custom fields.
Configuration
Add the Update field based on rules to the transition of your choice.
Source field
Choose Summary
Although it is necessary to choose one, this field is not relevant in this use case. We will set it to Summary for demonstration purposes.
Target field
Select a User Picker custom field.
Rules
Add one rule for every possible combination of the fields, assuming that none of the fields can be left blank.
Select Logical expression
Expression
For every rule, evaluate the different possibilities with appropriate logical expressions like the following one.
"Fruit" = %{issue.cfaaaaa} and "Apple" = %{issue.cfbbbbb}
Please, replace the field codes %{issue.cfaaaaa} and %{issue.cfbbbbb} with the ones from the appropriate fields before testing the post function.
Target field value
Enter the username of the user that should be assigned to the ticket when the logical expression is true.
user.one
Related use cases
STAFF PICKUse case JWT feature Workflow function Parser functions Label Add user to field depending on selected options Set assignee based on priority priority() Set assignee depending on issue type issueType() Set issue security level depending on reporter issueSecurityLevel() Set reporter as assignee if a User Picker field is empty
If you still have questions, feel free to refer to our support team.