Forums

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

Adding an intetnal comment on an issue using v3 REST API

Cyberlogic Integration User July 19, 2022

I cannot seem to get a good json example for adding an internal comment to an issue. 

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2022
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2022

I believe "internal" refers to JSD comments, and "visibility" is used for Jira Cloud comments.  Visibility is described in the link you found and you can select the group or role who can see the comment.

Cyberlogic Integration User July 22, 2022

I tried the json as provided and received an error, because it does not provide more information. 
"visibility": { "identifier": "Administrators", "type": "role", "value": "Administrators" },

Is Administrators default for all admins working on issues? 
Or is Administrators specific to some system? 
Where can i see the groups or roles i can specify here? 

 

This is the error i got.

 "The body parameters 'value' and 'identifier' are mutually exclusive."


When i remove that part, then it posts the comment, but not only internally. 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2022

Identifier is typically a number representing the text value, and value would be text.  Please try removing one of them, as the error message states.  If you keep identifier, you will need to determine the correct numeric value to use.

Like # people like this
Tyler Kosaski
Contributor
February 2, 2024

I was having this issue and this was the answer. Thank you.

Like # people like this

Suggest an answer

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

Atlassian Community Events