Don't send email on API changes

Simon Welsh March 8, 2016

Hi,

When making bulk changes through the JIRA interface, it's possible to not send an email notification about the action. We've recently moved to performing some of our bulk actions through the API and are now receiving a lot more emails.

Is it possible to have the API not send emails?

The two API endpoints we're currently using are:

  • PUT /rest/api/2/issue/KEY
  • POST /rest/api/2/issue/KEY/transitions

We still want to receive emails when manually making changes.

7 answers

0 votes
Ignacio Pulgar
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 10, 2016

Provided that there is no way of doing so out of the box, I've thought of a workaround that you might find useful:

  1. Right before performing the bulk actions, set the affected projects to use no notification scheme (None).
  2. Execute the bulk actions through the API.
  3. Once finished with the bulk actions, set the projects with the same notification schemes they originally had.

Mind that this procedure deactivates all email notifications for a while, so it is better to perform it at out of business hours.

Hope it helps.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 10, 2016

Sadly, it's not available yet.

0 votes
Ignacio Pulgar
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 10, 2016

Good point, Nic. Do you have a link which explains how to do a bulk edit through the REST API?

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 10, 2016

I don't think it will happen like this.  REST respects all the settings in the application, and will probably continue to do so.  The closest I think you'll get is a "bulk edit via REST" function, with the "do not email people on bulk edit" option

0 votes
Ignacio Pulgar
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 9, 2016

Voted for your suggestion and have started watching it.

0 votes
Simon Welsh March 9, 2016

Thanks, I have done so.

0 votes
Ignacio Pulgar
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 8, 2016

It would be a good feature. You can raise a suggestion of improvement here:

https://jira.atlassian.com

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events