Portfolio REST API - Fetch All teams (JIRASERVER)

Eshwar_R
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 29, 2020

Is there a way to get all the team names and id using the portfolio rest api

GET teams-api/1.0/team

Currently it only returns about 11 teams and when I run the count API (teams-api/1.0/team/count) I get about 4K+ teams

2 answers

0 votes
Tim Jones
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!
August 11, 2020

I was able to see all teams by passing in additional parameters.  I used the count API to understand how many pages I would need to request

 

/teams-api/1.0/team/?size=100&page=1

/teams-api/1.0/team/?size=100&page=2

/teams-api/1.0/team/?size=100&page=3

/teams-api/1.0/team/?size=100&page=4

etc.

Rolando Dorbecker May 19, 2021

me too, i am getting all teams and filtering out as i need, but now i have a problem to know which person is assign to each team, because what I see on the screen does not show up on API results for resources

0 votes
Rolando Dorbecker July 27, 2020

Same issue here.  any workaround to get the IDs for the teams ?

Suggest an answer

Log in or Sign up to answer