Is there any way to disable email notifications when updating issues by using scriptrunner and scheduled scripts?
I am using HAPI so my update looks something like this:
Issues.getByKey(issueKey).update{
setCustomFieldValue('Tidy Project Budget', projectPlannedTime)
setCustomFieldValue('Tidy Project Time Used', projectUsedTime)
setCustomFieldValue('Tidy Project Budget Percentage Used', percentageBudget)
setCustomFieldValue('Tidy Status', tidyStatus)
setCustomFieldValue('Tidy Verrechnungstyp', typeOfVerrechnung)
}
I know i can do it on server with this code:
setEventDispatchOption(EventDispatchOption.DO_NOT_DISPATCH)
setSendEmail(false)
However this does not work on cloud version.