I need to perform relatively frequent bulk updates/imports using the JIRA REST API.
This has been greatly increasing productivity but also causing immense amounts of spam.
Is there any way to disable notifications for emails made through the API or to enable/disable notifications globally through the API?
I'm using Atlassian OnDemand (version 5.2)
Update - Jan 12 '17
Can be done using the PUT /rest/api/2/issue/{issueIdOrKey}
API [specs].
Added in JIRA Server 7.2
Original post - Oct 23 '12
As far as I know there isn't any way to do so using the REST API, and no built-in way to stop email notification for REST based updates (you can set notifications for specific set of actions). You could change the permissions using the SOAP API (check out RemotePermissionScheme and RemotePermissionMapping).
If this is not the solution that you were looking for, there might be some sort of a workaround. What are you updating? which fields?
For example, one possible solution would be to replace Jira's notification with your own notifications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With