Don't send email on API changes


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 vote
Ignacio Pulgar Community Champion Mar 08, 2016

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

Thanks, I have done so.

0 vote
Ignacio Pulgar Community Champion Mar 09, 2016

Voted for your suggestion and have started watching it.

0 vote

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 vote
Ignacio Pulgar Community Champion Mar 10, 2016

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

0 vote

Sadly, it's not available yet.

0 vote
Ignacio Pulgar Community Champion Mar 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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

96 views 0 5
Read article

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