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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,195 views 2 7
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