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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

is there a way to disable email notification from changes that my Adaptavist script makes?

Hi - I can't disable email notification fundamentally (via Jira's Notification schemes) but I have an Adaptavist script that runs daily and generates hundreds of email notifications due to the issue updates it makes - Is there a clever way to suppress just notifications that this job causes?




1 answer

0 votes

Hi @Carl Sjoquist ,

That should be possible using the DO_NOT_DISPATCH option with your issue manager.

You need update issue with IssueManager with dispatch option DO_NOT_DISPATCH and parameter sendmails false.

Here is an example:

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.event.type.EventDispatchOption

def user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
def issueManager = ComponentAccessor.getIssueManager()
issueManager.updateIssue(user, event.issue, EventDispatchOption.DO_NOT_DISPATCH, false)


Documentation can be found here: 

Looks perfect, just what we would need, but we just moved to the cloud.  Is there an equivalent function available in the cloud version?    sorry, I should have mentioned that up front.

Dirk Ronsmans Community Leader Nov 09, 2020

Hey @Carl Sjoquist ,

On cloud this should be even easier. The cloud app for Scriptrunner uses the REST API (your script will be different too).

A method exists to edit an issue 

and this call also has a property "notifyUsers" which you can set to "false"



Whether a notification email about the issue update is sent to all watchers. To disable the notification, administer Jira or administer project permissions are required. If the user doesn't have the necessary permission the request is ignored.

Default: true

Sweet, thanks so much, I'll give this a try asap!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

184 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you