On this page

Use case

In the following use case it is explained how to add or remove request participants from the field Request participants after executing a transition.

Configuration


Add the Update or copy field values post function to the desired transition or create a new transition.

Target issue

Choose Current issue

Field

Choose Request participants

Value

In the popup, choose the value Set field value manually (parser expression)

If you want to remove all participants, you can select Clear field value instead and skip the next step.

Use one of the following expressions.

Expressions for a fixed set of participants

Set the expression editor to Basic text and use any the following expressions depending on your preference.

Expressions

If you want to overwrite all existing request participants and add a fix set of new participants, use a comma separated list of usernames.

user.one, user.two, user.three

If you want to add a fix set of new participants to the existing ones, use a comma separated list of usernames preceded by a plus + sign.

+ user.four, user.five, user.six

If you use prefix - you will remove this set of users instead of appending them.

If you want to overwrite all existing request participants and add users in a group instead, simply write the name of the group.

jira-users

If you want to add users in a group to the existing ones, write the name of the group preceded by a plus sign.

+ jira-users
Expressions for users contained in a User Picker field

Set the expression editor to Basic text and use any the following expressions depending on your preference.

Expressions

If you want to set the field with users in a User Picker or Multi User Picker custom field overwriting the existing ones, simply write the field code.

%{issue.cf10001}

If you want to add users in a User Picker or Multi User Picker custom field to the existing ones, write the field code preceded by a plus + sign.

+ %{issue.cf20002}

Related use cases


If you still have questions, feel free to refer to our support team.