Forums

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

I cannot add groups to project roles

Frederik Schaaf May 28, 2025

When I try via UI, all documentation I find tells me it should be possible, however the UI only suggests email addresses to me. When I forcibly enter a group name, it still doesn't work.

Screenshot 2025-05-28 141740.png

I also tried via REST API, but it just tells me my project key is not found.

I can do GET requests via browser like so:
https://xxx.atlassian.net/rest/api/2/project/xxx/role

and that works, but in order to post I need curl, which I tried like this:

curl -X POST "https://xxx.atlassian.net/rest/api/3/project/xxx/role/10010" \
-H "Content-Type: application/json" \
-d '{
"group": ["jira-admins"]
}'

but I get:

"project key 'xxx' is not found"

2 answers

1 accepted

0 votes
Answer accepted
Frederik Schaaf May 28, 2025

I found out that this is due to the fact I was not in the "jira-admins" groups, which has the "browser users and groups" permission.

0 votes
John Funk
Community Champion
May 28, 2025

Hi Frederik,

A little more specifically, you must be in a group to be able to select the group. So, sometimes you need to add your self to the group, add the group to the role or to the scheme, and then take yourself back out of the group. 

But you must have User Access permissions to be able to modify groups. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events