Forums

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

Jira Cloud API for Creating Comments on Issue has a jsdPublic boolean that won't activate

Michael Li
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 15, 2018

In the Jira Cloud API, there appears to be a field on the Add Comment functionality of Issues called jsdPublic which would allow comments on the Jira Service Desk to be viewed publicly. When making a sample request using Postman with this field set as "true", however, the response simply returns the jsdPublic field as false

Request Body:

Screen Shot 2018-08-15 at 2.40.38 PM.png

Response:

Screen Shot 2018-08-15 at 2.40.50 PM.png

The user in question here has Administrator and Service Desk Team permissions as well. Does anyone happen to know why this is happening or how I can correctly set the jsdPublic field on my comments to make my comments appear publicly?

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2018

Hi Michael,

I tested the same endpoint on my test instance and it works correctly.
In this case, I used a test issue where I'm a reporter and assignee.
I would like to know if the user that is using this API is a collaborator of the issue (reporter, assignee, participant) because even though he is an administrator, he must be a collaborator on the issue.

Here is what I tested:

Screenshot 2018-08-16_16-52-02.pngScreenshot 2018-08-16_16-52-41.pngScreenshot 2018-08-16_16-52-21.png

Regards,
Angélica

Michael Li
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 22, 2018

Currently, I have the user set as a request participant, but the result that I'm getting back is still the same (comments are still being made internally)

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2018

Hi Michael,

Thank you for the information.
I was able to reproduce the issue here.
I added a user who is only a participant but does not have a JSD license, and the comment is added as internal, even though using "jsdPublic":true.
Can you please check if the user has a JSD license?
Even though the user is an administrator, if he/she does not have a license, they won't be able to post public comments.

Regards,
Angélica

Suggest an answer

Log in or Sign up to answer