I am creating a JIRA plugin to fetch the issue-level permissions. Currently, the project-level permissions are working extremely fine but the issue-level permissions are not working. I tried finding a REST API to handle these permissions but, didn’t find anything so I decided to make a custom JIRA plugin to fetch the issue-level permissions of a project and handle them via exposing the plugin through an API.
My question is that what JIRA JAVA APIs do I have to use in order to handle these permissions? Or, is there any other workaround to handle issue-level permissions?
Hi @Dishant Sharma ,
welcome to the Atlassian community!
If you are referring to Permission Scheme with issue specific grant here the related REST API https://docs.atlassian.com/software/jira/docs/api/REST/8.20.12/#api/2/permissionscheme-getPermissionScheme
If you are talking about issue security here the related API https://docs.atlassian.com/software/jira/docs/api/REST/8.20.12/#api/2/issuesecurityschemes-getIssueSecurityScheme
Hope this helps,
Fabio
Thank you so much @Fabio Racobaldo _Herzum_ . It is extremely helpful. I have one question, is there a way by which I can view all the issues a user can access if I have the required administrative access?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can impersonate user (through https://developer.atlassian.com/cloud/jira/platform/user-impersonation-for-connect-apps/) and then retrieve issue through https://docs.atlassian.com/software/jira/docs/api/REST/8.20.12/#api/2/search-search as that user.
Ciao,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you so much @Fabio Racobaldo _Herzum_, I will definitely try it out and will mark the solution as accepted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.