On this page

Use case

Change the assignee of an issue after the evaluator has approved the issue to the next evaluator specified in an User Picker (multiple users) custom field.

Prerequisites

Set up custom fields

Create a User Picker (multiple users) text custom field

Name: Evaluators

Create another User Picker (multiple users) custom field

Name: Approvers


Configuration

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

Target issue*

Choose Current issue

Fields*

Field*

Choose Approvers

Value*

Set field value manually (parser expression)

Expression*

Set it to Basic text and use the following expression

+ %{system.currentUser}

Field*

Choose Assignee

Value*

Set field value manually (parser expression)

Expression*

Set it to Advanced and use the following expression

first(toStringList(%{issue.cfEvaluators}) EXCEPT toStringList(%{issue.cfApprovers}))

Please. do not forget to replace %{issue.cfEvaluators} and %{issue.cfValidators} with the corresponding field codes of the Evaluators and Approvers fields.

Related use cases


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