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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 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 

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
AUG Leaders

Atlassian Community Events