How can I send a notification to additional assignees when issue is created in Jira?

Steven Johnson
Contributor
July 7, 2023
Currently when an issue is created in Jira, an email notification gets sent to the assignee. I've found that the same email does not get sent to any additional assignees. Other than setting up a "send email" automation, is there a setting within Jira to have that notification email get sent to any additional assignees as well?
If there is no setting, is it possible to add additional assignees as watchers within the "create issue" action of the automation rule that is creating the issue mentioned above?

2 answers

1 accepted

1 vote
Answer accepted
Tim Perrault
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 7, 2023

Hi @Steven Johnson 

 

Could you explain what you mean by additional assignees? Jira issues only allow one assignee to each ticket. If you have created fields to act as additional assignees and I am assuming you are on Jira server as that is what is tagged here, you can update the notification scheme to include the user custom field and send on the same events that the assignee gets.

Steven Johnson
Contributor
July 7, 2023

I just assumed that Jira had the default field of "Additional Assignees" since we cannot setup in custom fields through our company (using Jira server) due to policy restrictions. There is the Assignee field, that only allows for one person, but there is another default field that allows multiple "additional assignees" to be listed on an issue. I assumed that the same notification scheme would be used, but it does not. Where would I go to update the notification scheme? I may or may not be able to do that since we only have Project admin rights, not global admin.

Like John Funk likes this
Tim Perrault
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 7, 2023

I would suggest reaching out to your Jira admins on site. Explain that you want the same notifications that the assignee gets to also be sent to the custom field "Additional Assignees". They will need to update the notification scheme. If this is not possible, maybe create an automation in the project that adds the "Additional Assignees" as watchers of the issue. That should send out all the notifications if the notification scheme is similar to the default notification scheme that comes with Jira.

Like John Funk likes this
Steven Johnson
Contributor
July 7, 2023

Unfortunately, anything that has to be done globally is almost always a no-go, so the scheme will most likely not be able to be updated.

I am working on the automation to set the additional assignees (or for us, customfield_10600) as watchers, but I cannot seem to figure out how to do it. I've tried the action "manage watchers" and adding the smart value {{customfield_10600}} in the add watchers field, but that errors out. I figured it can possibly be set in the edit issue action, under the "additional fields", using JQL, but can't figure that out either.

Like John Funk likes this
Tim Perrault
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 7, 2023

A notification scheme can be set per project. So unless all the projects have to share all configurations, the easiest and best thing to do would be to update the notification scheme.

 

under the manage watchers action try this

{{issue.customfield_10600}}
Like John Funk likes this
Steven Johnson
Contributor
July 7, 2023

Thanks Tim...I was testing this out in UAT, which was what was causing my problem. The customfield in UAT is 10900, not 10600, which is in Prod, so that worked! I'm hoping this is a temporary work-around, because just updating that notification scheme would be best, but it looks like I do not have the permission to update that, even though I am a project admin for the project. That's a separate issue though, so thanks for your help with this one!

Like # people like this
0 votes
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 7, 2023

@Steven Johnson

 

Are you saying that when the issue is reassigned the new assignee does not get notified?

 

Thanks,

 

 

Kian

Steven Johnson
Contributor
July 7, 2023

No, when an automation rule that creates an issue is triggered, it sends to the "assignee", but not to the "additional assignees", which is a field we have, that I had assumed was a default jira field, since we cannot create custom fields at our company.

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer