Forums

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

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, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events