Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Api for 'Find users with browse permission '

Harman13
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2018

Hi 

I am trying to get a list of users who have access to a particular issue.

I tried using  GET /rest/api/2/user/viewissue/search for this . But it asks for username and issueKey query parameters. Also it is returning only one user. 

 

How does this api work? 

1 answer

0 votes
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 28, 2018

GET /rest/api/2/user/viewissue/search returns  a list of active users that match the search string. This resource cannot be accessed anonymously and requires the Browse Users global permission. Given an issue key this resource will provide a list of users that match the search string and have the browse issue permission for the issue provided.

I am trying to get a list of users who have access to a particular issue.

 

There is no direct endpoint for this. A lot of people have different levels of access to the same issue. The question you should ask yourself is "Which users have X permissions for Z Issue? "

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events