Forums

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

Prevent email notifications on page update from REST API

John Harrington
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2022

I am using the REST API to update pages. I do not want watchers to receive notifications for every update. I have seen many posts here saying to use:

version: {minorEdit: true}

 But this seems to have no effect, watchers are still receiving notifications. Is it possible to prevent this?

1 answer

0 votes
Jessica
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 7, 2022

Hello @John Harrington 

I tried it on my test site and as far I could see, if we use the minorEdit: true, it isn't triggering a notification.

Here is how my payload it currently:

 {
"version": {
"number": 7,
"minorEdit": true
},
"title": "Page notifications test",
"type": "page",
"status": "current",
"body": {
"storage": {
"value": "<p> minoredit is true, should not notify</p>",
"representation": "storage"
}
}
}

I have edit the page through the UI a few minutes later to see if the notifications were working there and I got only the notification from the edit directly from the UI, so far, it is working without any issues here.

Is your payload similar to the one above? If not, please share it with us!

Kindest Regards,
Jessica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events