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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

What are the role IDs for different team types when adding users to Teams using APIs?


I was successfully able to use the approach described in the answer to the following question.  However, I was able to only figure out one role ID (for Team of Team role in the Program Team).

The response mentions that one has to specify a role ID, but it didn't mention how to determine the valid role IDs for each type of Team (e.g. Portfolio Team, Program Team, etc).

What are the valid role ids for the various team types?


1 answer

1 accepted

5 votes
Answer accepted
Heidi Hendry Atlassian Team Jul 25, 2022

Hi Samit,

For System Roles, the ID for the role can be found by navigating to Administration > Role > find the Role, and then it will appear.


For Team Roles:

Team Level  roleId
Analyst 10
Architect 8
Developer 4
Documentation 11
Product Owner 6
QA Lead 2
Scrum Master 1
Stakeholder 9
Team Coach 7
Tester 5
UX 13
Program Level  
Release Train Engineer 14
Stakeholder 9
Team of Team 12
Portfolio Level  
Business Owner 15
Enterprise Architect 16
Epic Owner 17


These Role Ids are static across teams and levels. Eg Stakeholder at Team Level and at Program Level has roleID =9


For your reference, you can do a "GET" on a user and it will pull back the following information

"teams": [
"teamId": 1641,
"teamName": "Portfolio 1 Team",
"teamType": 5,
"roleId": 12,
"roleName": "TeamOfTeam"
Here you can see that this user has the "TeamOfTeam" role which is roleId = 12 in the "Portfolio 1 Team" which has teamId = 1641.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events