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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,316 views 5 11
Read article

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