Let users in Jira ADMIN, ABC, XYZ, QWER.
We are using JIRA API to read issues related data (using Basic Auth/ Admin Account). Now I want to search issues for the user.
My basic idea is to use this in type and search bar e.g. if user types 130 then bring all issues which have 130 in Id and this user has access.
Now issue is as we are using Admin Account credentials, so when we call
https://example.atlassian.net/rest/api/3/issue/picker?currentJQL=130%26showSubTaskParent=true%26showSubTasks=true
for ABC user, this returns all items whether ABC has access or not. I understand the reason that this is running in the scope of ADMIN.
So what i want to achieve is to pass some parameter in JQL syntax or any other to fetch all issues starting from 130 suppose and ABC has access to it.
Similarly when XYZ call this only fetch which this user has access to.
So kindly let me know if there is any way using JQL or other using which we can fetch all issues where ABC user has access.