curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/issue//notify' \
--header 'Content-Type: application/json' \
--data-raw '{
"htmlBody": "The <strong>latest</strong> test results for this ticket are now available.",
"restrict": {
"groupIds": [],
"groups": [
{
"name": "notification-group"
}
],
"permissions": [
{
"key": "BROWSE"
}
]
},
"subject": "Latest test results",
"textBody": "The latest test results for this ticket are now available.",
"to": {
"assignee": false,
"groupIds": [],
"groups": [
{
"name": "notification-group"
}
],
"reporter": false,
"users": [
{
"accountId": "5b10a2844c20165700ede21g",
"active": false
}
],
"voters": true,
"watchers": true
}
}'