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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a function in the API to get all comments that a particular user can see. Refer to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.