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

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,558,649
Community Members
 
Community Events
184
Community Groups

How to get all person IDs using API?

Hello,

We want to make sync for Plans/Roadmap Teams from other source (AD) since it does not accept groups,

I am able to get information about existing groups and their members with compiling export of /team , /resource and /person

  • I get list of all teams with names and Team ID
  • I get list of all resources that consist of pairs group - person
  • I combine those two in new array where persons are added to corresponding team (by TeamID). I wish it could be done in one call/with one module but its ok, it works :)
  • In order to get username of the person I have to call /person API for every person ID I have in Team because I can not export whole person list (for /team and /resource you can export list, for person - no)

So I can export all teams and their members and check for people that are missing in some Team A,

Now I need to add missing people to this team by knowing their Jira usernames,

How can I do that?

As far I understood person has to be created in Portfolio plugin so it will have some ID,

How can I get this ID?

Or, in general, how can I add Jira user to Team through API for the first time?

 

Any information will be appreciated,

Thank you.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events