Assign an automation subtask to a custom field person using Smart Values

Carina Lora July 11, 2023

I'm building out automation flows to reduce repetitive admin tasks, but I'm having difficulty mapping a custom "person" field to the assignee field for an issue created via automation rule. 

Objective: when issue is transitioned to Internal Review status, create a subtask and assign it to the "Reviewer" person from the parent task.

I've got everything working except the assignment piece. I have tried some of these smart values:

  • {{issue.customfield_10788}}
  • {{issue.reviewer}}
  • {{issue.reviewer.name}}
  • {{issue.reviewer.displayname}}
  • {{triggerissue.reviewer}}
  • {{triggerissue.reviewer.name}}
  • {{triggerissue.reviewer.displayname}}

Screenshot 2023-07-11 at 6.02.52 PM.pngScreenshot 2023-07-11 at 6.03.26 PM.png

1 answer

1 accepted

1 vote
Answer accepted
Anthony Morais
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.
July 11, 2023

Hi @Carina Lora 

To define the person responsible, the user's accountId is required.
You also need the forEachSmartValue

Try to do it like this:

reviewer.png

issue-reviewer.png

 

I hope it helps!
Anthony

Carina Lora July 12, 2023

Success, thank you!

Like Anthony Morais likes this
Anthony Morais
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.
July 12, 2023

Wow... glad it worked!!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events