JIRA - Accessing Comments by Project Role

We have Jira 3.13. We're writing to the API go get comments. Easily done.

However, is there a way to access comments that are meant for a specific visibility level or project role? e.g. We have developers that write comments in JIRA that aren't necessarily meant for clients to view. When developers write comments, they select a specfic option from the "Viewable By" drop-down on the comment form to write comments that only our company employees can see.

1 answer

Comment level security is tied to the Security Levels of a project. You can create security levels and associate it to roles.

You need to create an issue security scheme, associate it with a project. For each issue security scheme you need to set issue security levels and map those levels to roles. Refer to https://confluence.atlassian.com/display/JIRA051/Configuring+Issue-level+Security for a detailed explaination.

So, what does that mean exactly in terms of what I need to do?

Yes, we created those levels already. I was asking how we get comments through the API - e.g. get only those comments that are viewable only by the "developers" role or some other role that we created. In the API, there is a getComments() method. But, there doesn't seem to be any way to filter those comments by who is allowed to view the comments.

There is a function in the API to get all comments that a particular user can see. Refer to this.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,975 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot