Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Set Assignee based on Custom Field

Patrick
Contributor
September 5, 2024

Hi I have a custom single user picker field called "Manager" I also know the customfield ID

I want to create an automation that creates a subtask when the task transitions (thats no problem).
After that it should get the Value from Manager and Assign the new Issue to the Manager.

I can extract things like the display name, for example issue.customfield_123.displayName.
But if I put this into the Assign Action, via Smart Value is doesnt work. 
I tried .name, .value, .emailAdress

Basically how can I copy the user from Manager Custom Field to Assignee Field.

Thanks for any ideas

2 answers

1 accepted

1 vote
Answer accepted
Duc Thang TRAN
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2024

Hello @Patrick 

You can use this smart value for "Assgin action"

{{issue.customfield_123.accountId}} or 

{{issue.Manager.accountId}}

Patrick
Contributor
September 5, 2024

yes this also works now, but the main issue was that the user selected in Manager couldnt be found, because he wasnt added to the project.

1 vote
Patrick
Contributor
September 5, 2024

nvm, it was my mistake : )

{{issue.customfield_123}} this was correct the problem was the user wasn't invited to the project so that why it can't be found from the assignee field. 
The customer user picker field can pick any user.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events