Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabling JIRA notification emails for REST API updates

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)

like image 994
Josh - iMedia Avatar asked Nov 13 '22 19:11

Josh - iMedia


1 Answers

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.

like image 69
Kuf Avatar answered Nov 15 '22 12:11

Kuf