Forums

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

How to send a internal comment via API rest?

Ronald Arrieche October 26, 2021

Hi, im trying to send a internal comment using de API rest of Jira service management. Actually i use a postman to send the request and its works for public comment, but not for internal comment, i use this body in the request:

{
"body": "Test internal comment",
"public": false
}

also triying this one

{
"body": "Test internal comment",
"visibility": internal
}

none of them works

any solution? thanks!

1 answer

0 votes
Tansu Akdeniz
Community Champion
October 26, 2021

Hi @Ronald Arrieche 

Actually, the first one should work. What is the response?

{
"body": "Test internal comment",
"public": false
}

Which user do you use as an auth in postman? Does it have an agent license? Because customers can only add a public comment.

Please also take a look to Rest API guide.

Ronald Arrieche October 27, 2021

Hi, thanks so much, the response its ok, but the comment is public, not internal.

I use an auth and this user its agent.

Tansu Akdeniz
Community Champion
November 3, 2021

Did you resolve the issue? What about using the non-jsm rest api to add an internal comment as a workaround?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events