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

0 votes

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

https://jira.atlassian.com

Thanks, I have done so.

0 votes

Voted for your suggestion and have started watching it.

0 votes

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

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

0 votes

Sadly, it's not available yet.

0 votes

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
Published yesterday in Jira Service Desk

Frequently Asked Questions for Jira Service Desk (AKA JSD FAQ)

Just the FAQs! Welcome to the Community, and this Focused-FAQ! Here, we've pulled together some of the most frequently asked questions associated with Jira Service Desk (JSD). We hope ...

96 views 0 8
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