Forums

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

Query all issues another user can view

SneakyFx June 5, 2024

I am trying to query all issues another user can view. This would be executed from an admin account with all permissions. I know an empty JQL query would return all issues *they* have access to. However, I am trying to find what issues user XYZ has access to, without obtaining a personal access key or account credentials of user XYZ.

Creating a search application that will integrate jira issues in the search. I am able to find relevant issues relating to the search but now I need to filter them by only issues that the user actually has permission for. I only have the username/accountId for the searching user.

I am fine with a JQL solution or a different API endpoint. I have tried to use permissions/check but it's not available to the data center version I believe.

1 answer

0 votes
Trudy Claspill
Community Champion
June 5, 2024

Hello @SneakyFx 

Welcome to the Atlassian community.

There is no native JQL methods available that will give you what you want.

What is the problem that you are trying to solve by getting this information?

Are you going to have to do this repeatedly for multiple users, or is this a one time need?

SneakyFx June 5, 2024

Creating a search application that will integrate jira issues in the search. I am able to find relevant issues relating to the search but now I need to filter them by only issues that the user actually has permission for. I only have the username/accountId for the searching user.

SneakyFx June 5, 2024

The permissions/check endpoint seems to accomplish what I need, but it isn't available for data center version I don't think. I may be mistaken.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.16.0
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events