-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Work Item - Backend - Comments
Add Comments API currently doesn't support notifyUsers=false to suppress notification when adding a comment.
Please add this to the comments API.
Workaround
Edit issue API can be used in this case which supports notifyUsers=false
curl --location --request PUT 'https://sitename.atlassian.net/rest/api/3/issue/ABC-1?notifyUsers=false' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic ...' \ --data '{ "update": { "comment": [ { "add": { "body": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This is a new comment added via the Edit issue API with notifications suppressed." } ] } ] } } } ] } }'