API to load the project roles details as non-admin user

we are working for Jira plugin in which need to load current project roles details as a non-admin user. Tried with GET: /rest/api/3/project/{projectIdOrKey}/role API but it’s not working for the non-admin user (only working for admin user)please suggest me how to load the project roles details?

Hi @AshokChelimilla,

The get project roles for project API is documented that the user making the request needs administrative permissions.

Regards,
Dugald

Maybe Jira Project Role https://marketplace.atlassian.com/apps/38661/jira-project-role-tab can help you in your use case. The app and the REST API provides access to project. role assignments for non-admin.

Thank you @Holger and @dmorrow for your reply.