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?
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? "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.