Hello,
I have a custom field created using Forge and have deployed the site and it works as expected. However every time the field got updated it send an email to me, and the email sender name is the custom field’s app name (the name that registered in the developer console).
I have permissions in my jira site as product admin and site admin.
I want to know if I can disable this auto sending email when the custom field updated. I tried to find the setting in Jira and in my account setting, but cannot find if this can be set to disable.
I can see that there is an email notifications setting in Personal Settings and I can turn off the email notification for issue activity, but this email was sent using user name as the sender, and I still need this notification.
The email notification from the custom field does not make sense, because the sender is the custom field itself, and the body of email is always saying the field was updated (the only field), which is obviously it was changed, I don’t need this kind of notification.
Is this notification possible to be turned off? without turning off the issue activity notification?
Thanks.
Hi @BennyChandra,
Please share your manifest file.
Thanks
Magdalena Lidia Rogulska
Hi @MagdalenaRogulska,
Thank you for looking into this.
Here is the manifest:
modules:
jira:customField:
- key: reminder-date
name: Reminder Date
type: datetime
readOnly: true
trigger:
- key: product-trigger-on-issue-update
function: on-issue-update
events:
- avi:jira:updated:issue
- avi:jira:created:issue
function:
- key: on-issue-update
handler: reminderDate.onIssueUpdate
app:
id: ari:cloud:ecosystem::app/53a58f4f-8a4d-4f4f-b2da-5fac990f884e
permissions:
scopes:
- 'read:jira-work'
- 'write:jira-work'
- 'read:jira-user'
Thanks,
Benny.
Did anyone figure out how to disable email notifications on custom field updates? My app calculates each issue score and stores it in a field. Which in turn spams everyone in Jira first time the score is calculated…
Thanks!
Found a way - I’m using this endpoint https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-values--apps-/#api-rest-api-3-app-field-value-post which support setting URL parameter generateChangelog=false
This will stop email spam, but also will not capture any updates made by your app in the changelog/issue history.
I’m like 99% sure the parameter is somewhat new on that endpoint (was added recently). I’ve looked into this problem before at least twice at different points of time and wasn’t able to figure out the solution… happy to share what worked at the end 