Forums

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

How can I send one email notification with a list of linked issues with the same assignee?

Arielle Unterberger
Contributor
March 7, 2022

When a master task is created ("Task A"), other tasks are created which are linked to Task A as blockers (e.g. Task B, C, D, E, F blocks Task A).  

Task B = Assignee 1

Task C = Assignee 2

Task D = Assignee 3

Task E = Assignee 1

Task F = Assignee 1

When Task A is created, I'd like to send a notification to the assignees of the linked issues, containing a list/summary of hyperlinks of the issues they are assigned to.

The goal is to avoid sending single notifications for every newly created issue to assignee, since it could happen that for every master task, Assignee 1 could be assigned to more than 5 tasks. 

Example: 

For Assignee 1: 

Task A has been created. You have the following tasks: 

  • Task B
  • Task E
  • Task F 

 

For Assignee 2:

Task A has been created. You have the following tasks: 

  • Task C 

 

And so on... 

1 answer

0 votes
Boris Berenberg - Atlas Authority
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.
March 7, 2022

The challenge here would be that the related tasks would be created asynchronously.This means if you key a notification of Task A being created, the notification code may run faster than the other tasks are created. 

Arielle Unterberger
Contributor
March 7, 2022

I've thought about that as well. Instead of "issue created" as trigger, I could also run a scheduled query everyday or so. The important part is having the summarized list of issues per assignee sent as an email. 

Or I could also add it to the end of the automation rule that creates all linked tasks.

Boris Berenberg - Atlas Authority
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.
March 7, 2022

I am not sure how this would be done in Automation, I know in our app, Notification Assistant for Jira you would do exactly what you said. Configure a scheduled trigger, set the recipient to Assignee. Configure the JQL to restrict it, and then select 1 email per recipient.

Charlie Gavey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 10, 2022

Hi there,

I’ve linked your suggestion to a related feature request, which counts as an upvote for this ticket:

https://community.atlassian.com/t5/Jira-questions/How-can-I-send-one-email-notification-with-a-list-of-linked/qaq-p/1964777

Thanks for letting us know.

Cheers,

Charlie

Arielle Unterberger
Contributor
March 11, 2022

Hi @Charlie Gavey

Thanks for the info! Could you please check the link that you posted, it links to my question, instead of the related feature request. 

Suggest an answer

Log in or Sign up to answer