Suppress email notification for JIRA update using REST API

I've written a service which updates few JIRA fields when a new Jira is assigned to my team and many people are not happy as they get email notification for these changes. 

I came across the notifyUsers  flag to suppress the notification. For this to work I need to give admin permission to my bot account and I'm not comfortable in doing that.

I checked about custom notification but that requires change in the Project which is shared by a very large organization.

I'm looking for solution similar to setting a flag while sending the update rest message but I can't find any without giving admin permission to my bot account.

Does anyone else have any other suggestion?

 

 

1 answer

0 votes

Hi Bapuni,

There was a Suggestion ticket open for this behavior that you can find at JRASERVER-34423.  One of the suggestions was to have a special group, like jira-bots (or jira-automation, jira-silent) for which jira will skip sending email notifications if the changes were made by a user part of this group.

Another came from another user in the comments:

Here is a complex workaround, to configure exim4 to filter notifications generated by a certain user, I use .bot user for automation purposes and I don't want to send notifications to users. BTW, this works only for plain text email notifications. https://bitbucket.org/phoebian/phoebian/src/b7dce5876687ee67d1bd8c65cb89c5e1be2954ce/etc/exim4/system.filter?at=default

Take a look at JRASERVER-34423 and  review the comments as there are some additional suggestions.

Cheers,

Branden

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,060 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot