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.