I'll have the following problem:
I'll send the folowing JSON Object to https://....atlassian.net/rest/api/2/issue/{IssueIdorKey}/transitions to update the status and add a comment. My problem is the comment always is public and not internal.
My JSON Object:
{ "transition": { "id": "761" }, "update": { "comment": [ { "add": { "body": "Resolved", "properties": [ { "SD_PUBLIC_COMMENT": true, "value": { "internal": true } } ] } } ] }, "fields": {}}
JiraRest-Endpoint:
https://{link}.atlassian.net/rest/api/2/issue/{IssueIdorKey}/transitions
Anyone has an idea on how to achieve that the posted comment will be internal?
Hi @Mayrhofer ,
welcome to the Atlassian Community!
According to this issue it looks like it is not possible to do the transition and also add an internal comment.
So, you probably need to send the second request after the transition. The request info can be for example found here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.