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

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

Thanks, I have done so.

0 vote

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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 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