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

Find account ID in JSM

Is there any REST API or other methods to get Account ID of others automatically (by Scriptrunner)?

1 answer

1 accepted

1 vote
Answer accepted
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 30, 2023 • edited

Hi Kannpitcha,

Thank you for your question.

I can confirm that to get the account of a user, you can navigate to the URL of <JiraBaseURL>/people/search inside of Jira to find a user's account ID. 

If you wish to look up the accountId in a script, you can call the Jira Find Users API, which Atlassian provides to find a user.

We have an example script that shows how to do this here on line 25

This example shows how to call the Find Users API to search for a user and get their accountId and should help you to achieve your requirements.

Regards,

Kristian

Thank you for your help!

Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 30, 2023 • edited

Hi Kannpitcha,

You are welcome and I am glad this helped you to solve your problem :)

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events