The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Jira REST API for project permissions returns wrong response for "Next Gen" projects

Georgi Dobrev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2022

Hello, 

I'm trying to get the project permissions for a portal user with no access to given "next gen" project via REST API and expecting a response with "havePermission":false, but the endpoint returns "true". 
Is there any workaround to resolve the problem - how to get the correct project permissions for "next gen" portal users with REST call?

I'm using this endpoint:

"/rest/api/2/mypermissions?permissions=CREATE_ISSUES&projectId={projectId}"

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.