Forums

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

How to make comments on issues internal?

Mayrhofer
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!
August 6, 2021

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?

1 answer

1 accepted

0 votes
Answer accepted
Hana Kučerová
Community Champion
August 6, 2021

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.

Suggest an answer

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

Atlassian Community Events