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
4,365,162
Community Members
 
Community Events
168
Community Groups

Get members of a Team in Portfolio through coding.

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

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 

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

Like Earl McCutcheon likes this

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

Atlassian Community Events