Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress email notifications WITHOUT admin privileges

Andrew L
Contributor
March 20, 2018

When i try to update an issue of a particular project and pass in "notifyUsers=false" to the "curl" cmd, i get:

To discard the user notification either admin or project admin permissions are required.

 I could not figure out how to turn off this restriction of that project so that i can update the issue without having Jira send out email notifications.

I tried going to https://mycompany.com/secure/admin/EditPermissions!default.jspa but didn't see anything obvious that i can toggle.

Can someone point me in the right direction?

Thanks

--Andrew

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2018

The parameter is only valid if the account you are using to make the call has admin privileges.  There's nothing to toggle or change, you just have to use an admin account if you want to not send email.

Andrew L
Contributor
March 20, 2018

I know this is NOT true.

There's another Jira project where i am able to suppress emails successfully via REST calls using the same userid without admin privileges.

I just don't know what config changes i need to make.

Thanks

--Andrew

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2018

I expect you will find your other project is being updated with a user that has admin rights (project, Jira or system)

Andrew L
Contributor
March 21, 2018

Can you please let me know how i can check the configuration?

I looked at the "History" tab of the issue (of the project that did not require admin privileges) and do not see any other userid making changes.  The only userid in the "History" tab is the userid that i passed to the "curl" command line.

 Thanks

--Andrew

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2018

The history has given you the user, so that was the right first step.

Next, you want to look at "people" and "permissions" in the project's admin sections.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events