Don't send email on API changes

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

This widget could not be displayed.

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

https://jira.atlassian.com

This widget could not be displayed.

Thanks, I have done so.

This widget could not be displayed.

Voted for your suggestion and have started watching it.

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

Sadly, it's not available yet.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

143 views 1 3
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