Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a subtask assignee from a custom people field?

Theo Furrow
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2022

We use subtasks to track actions for multiple users in one issue. In this case, we have Business Analysts (BA) and Developers include on the issues as custom People fields. I am trying to use Automation to set the assignee of subtasks to either the BA or the Developer. 

I have been able to get select the specific subtask of those we list to have a person assigned, but I am not having success at setting the assignee based on the person entered in to the BA people filed on the parent issue. 

 

Jira subtask.png

 

In the audit log I am getting this message:  Error editing issues:  BIZ-7474 (Specify a valid value for assignee (assignee))

Can someone advise on the verbiage I need to be using to get the ID from the BA people field to be set as the assignee for the subtask? 

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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 25, 2022

Hi @Theo Furrow 

Based on your rule structure, I recommend referencing the trigger issue as the source for the parent.  Perhaps with this:

{{triggerIssue.customfield_10052.accountId}}

Please note you could also type in/paste that field for the assign field, without the need for the JSON edit.  To do so, just type/paste the smart value and it will appear below the field in Issue Edit, then you may select it for use.

Kind regards,
Bill

Theo Furrow
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2022

Thank you very much. That worked great. 

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events