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

Get members of a Team in Portfolio through coding.

David Henriksson January 14, 2019

Hi!

We have the Scriptrunner plugin and I want to retrieve all the members of a Portfolio team through scripting. I have tried with the rest-api https://docs.atlassian.com/portfolio-for-jira-server/REST/2.13.0/teams/ but it looks like there is no way to get resources from a particular team.

Is it even possible to get members of a Portfolio team through coding? 

1 answer

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2019

Hi David,

You can pull the TeamID and PersonID from the GET /resource endpoint:

http://BASE_URL/jira/rest/teams-api/1.0/resource

Regards,
Earl 

David Henriksson January 17, 2019

Oh, missed that one. Great, thanks :-)

Like Earl McCutcheon likes this
Rolando Dorbecker May 20, 2021

by any chance were you able to get good results by using the /resource , i am being trynig but the /resource is not bringing all the team , person relation that i can see on the UI

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events