How do I send an email for parent issue & include assignee(s) of subtasks in body of email?

Kelli Frattini-Adams
Contributor
October 9, 2020

I want to include the assignee's of all subtasks in the body of the email to the Lead Developer on the Parent Issue. I'm stuck on the part in bold. Everything else I have working as expected.

Here is what I've started with and can't figure out how to do the part in bold?

Hello {{Issue.Lead Developer.DisplayName}},

All of the subtasks on {{Issue.key}} are Status = Done and are ready to be deployed to QA.
Please coordinate with the Lead Developers of Subtasks and deploy to QA.

https://nationaleducationassociation.atlassian.net/browse/{{issue.key}}

Labels: {{issue.labels}}
Related Subtasks: {{issue.subtasks}}

Assignee(s) of Related Subtasks:  {{issue.subtask.assignee.DisplayName}}


Thanks all!

1 answer

1 accepted

2 votes
Answer accepted
Ivan Lima
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.
October 9, 2020

Hi @Kelli Frattini-Adams, it looks like you got it all right. I just did a small change on my end to make it work. I'm using it as a Smart value - list.

{{issue.subtasks.assignee.displayName}} 

If you try to copy the snippet I shared, it should also work for you.

Cheers,
IL.

Kelli Frattini-Adams
Contributor
October 13, 2020

Thanks so much @Ivan Lima Ivan! I can't believe I forgot the s on subtasks, guess I looked at this way too long. Always good to have a second perspective. It worked perfectly!

Like # people like this
Ivan Lima
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.
October 19, 2020

Hi @Kelli Frattini-Adams, I'm glad it worked. If this answer helped you, mark it accepted to help other users find it.

Like Dave Liao likes this

Suggest an answer

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

Atlassian Community Events