Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

portfolio for jira (teams-api) resource not returning all info

I am being trying to get what team members are part of which team.

First, I get the Teams by using the operation: team , not a problem here, I can get the entire list of teams.

https://myjirainstance/rest/teams-api/latest/team?size=100&page="+TeamPage.ToString()

now i want to know which team member is assigned to each team, for which i am being using the operation:  resource

https://myjirainstance/rest/teams-api/latest/resource?size=100&page=" + ResourcePage.ToString()

fact number one:

I am paginating since the API only return 100 records at the time, but the reality is that it is not returning always 100 records, for whatever reason, sometimes return less than a 100

fact number two:

I am letting this process run and see what i was able to match up and i can only from my test subject team a handful of team members and not the entire list , it is only showing a few.

I am lost at this point, i do not understand why is not returning always 100 records, this is the instruction that i am using to get the records by using c#:

result = httpClient.GetAsync("https://myinstance/rest/teams-api/latest/resource?size=100&page=" + ResourcePage.ToString()).Result;

Please, any help is very appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you