On this page
Use case
In this use case a User Picker (multiple users) custom field will be updated with one or several users depending on the labels contained in the Labels field.
Configuration
Target issue
Choose Current issue
Field
Choose a User Picker (multiple values) field.
Value
In the popup, choose the value Set field value manually (parser expression)
Expression
Set it to Advanced text and use the following expression
" + " + toString(filterByPredicate(distinct([ "AA" in %{00080} ? "user.one" : null, "BB" in %{00080} ? "user.one" : null, "CC" in %{00080} ? "user.two" : null, "DD" in %{00080} ? "user.two" : null, "EE" in %{00080} ? "user.three" : null, "FF" in %{00080} ? "user.three" : null ]), ^% != null))
The duplicated characters must be replaced with your labels and the different users (user.one, user.two, user.three), with the usernames of the users of your choice.
User
Choose Current user
Related use cases
If you still have questions, feel free to refer to our support team.