Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

REST API /rest/api/3/filter?overrideSharePermissions=true does not handle project roles?

KC Wong
Contributor
September 3, 2024

How experimental is the overrideSharePermissions query parameter?

I gave it this edit permission: 

"editPermissions" : [ { "type" : "project", "project" : { "id" : "10027" }, "role" : { "id" : "10002" } }, { "type" : "project", "project" : { "id" : "10027" }, "role" : { "id" : "10016" } } ]

And it ended up only shared to the project (Everyone) instead of the two specific roles I've given.

If I use the UI to edit, then I can share to those two role ids. 

Is role assignment not implemented in the REST API yet? 

1 answer

1 accepted

1 vote
Answer accepted
KC Wong
Contributor
September 3, 2024

Never mind... it wants the type to be "projectRole" on create/update.

But when reading, it will only give you "project" type with both project and role children. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events