Thank you for your answer - I was a little imprecise with my question:
I mean comments with indiviudal set permissions:
If you press here the 'lock'-Icon you can restrict that this comment is only viewable by a specific role or group. How can I retrive the information via REST if a comment is restricted...?
Hi @Dieter Guthmann ,
To retrieve the comment permission for the specific scheme you can make use of the REST API: Jira REST api getPermissionSchemeGrant.
The list of comment related permissions are
Delete All Comments
Delete Own Comments
Edit All Comments
Edit Own Comments
Based on your requirement pass the permission id to the REST endpoint.
For example: rest/api/2/permissionscheme/0/permission/10007
Hope this helps you.
I don't think this answers the question. For each individual comment, the comment permissions can be set to All Users, Administrators, Developers, etc. This allows us to restrict who can see each comment by their role in the project. In some cases, we want to leave comments for other developers on the team which we don't necessary want/need the reporters (who doesn't have the 'developer' role) to be able to see.
When pulling comments from the API, I may only want to report on all "All Users" comments and keep the "developer only" comments hidden.
The permissions scheme determines who can create/edit/delete comments in general. The request is per issue and per comment.
Is there a way to do this?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events