Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to disable Issue creation notification with REST API - Bulk Import

Prabu N September 6, 2018

I am using "/rest/api/2/issue/bulk" API for creating bulk import. I want to disable the JIRA email ntoification for this event.

I also don't want to disturb the notification scheme; as this should funtion - when user create an issue in JIRA UI, it should send email.

I also use script runner plug-in.

Please suggest if there is any solution.

2 answers

1 accepted

0 votes
Answer accepted
Prabu N November 21, 2018

I have disabled the notifications. and used custom notification in workflow to achieve the purpose.

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 8, 2018

Hi! 

 

Unfortunately, from rest api is not possible if you are using older than 7.2

https://jira.atlassian.com/browse/JRASERVER-34423 

Feel free use notifyUser parameter

 

Also, For workaround, you can try this thing https://bobswift.atlassian.net/wiki/spaces/JCLI/pages/6684683/How+to+limit+notifications+for+automation+actions

 

Also, I have read you are using Scriptrunner. Hence you can set parameter for dispatchEvent=false.

 

Cheers,

Gonchik Tsymzhitov

Prabu N September 12, 2018

Hi,

Thanks for the response.

I am using latest REST 7.11.2. But, notifyUser parameter available for editing issue(/rest/api/2/issue/{issueIdOrKey}); not while importing issues(/rest/api/2/issue/bulk).

I will check the Atlassian SDK item, if it can help.

Warm regards,

Prabu

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Apps & Integrations Events