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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,949
Community Members
 
Community Events
176
Community Groups

How to send email to all assignes inside Epic when one of the issues inside Epic is Done

Edited

Hi,

I am having some issues with making it work the way I need to. I will try to explain the best way I can. 

We organize our work by Epics and tasks inside them. Lets say I have Epic with 3 tasks all assigned to someone else. Task#1 is set to Done and I want Automation to send email to assignees of Task#2 and Task#3 saying that Task#1 is Done. Then repeat the procedure when Task#2 is Done. 

How do I make it work in Jira Automation? 

1 answer

I have done a similar concept that may help you, or future people who may google a similar question and end up here hoping to find an answer.

Jira Automation:

Trigger:

When an Issue is transition from any status (or specific states it should be coming from) to Done status.

Action:

  • Then: Lookup Issues using JQL query

Query Example:

parent = {{issue.parent.key}} *This will get all Issues with the same parent Issue that triggered the rule*

AND

assignee != EMPTY *This will get all Issues that have someone assigned to them*

AND

status in ("<Enter status here>") *You might want to only notify people who have tasks in a certain status*

AND

issuetype = "<Issue Type>" *This will only get a specific Issue Type if you only want to notify people that are working on design stories, build stories, bug fixes, etc.*

  • And: Create variable

smartValue = smartValueName *like emailList*

Smart Value = {{lookupIssues.assignee.emailAddress}} *This takes the above Query results and creates a new list that includes only the email addresses of each assignee. Now if someone has many Issues assigned to them, their email address will appear in this list many times. However for the next part (sending the email) this will not matter as when you have many entries of the same email address in the "To:" field, it will only send it once*

  • And: Send email

To: {{smartValueName}} *like {{emailList}}*

Subject: <text or smartValues>

Content: <text or smartValues> *You can use smart values to include details such as assignee of Issue moved to Done status, the summary or key of the Issue moved to Done status, etc.*

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events