Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

I want to get details of a user by email but I am not able to find the method which I need to call.

Edited

Hii Guys . I am using   JiraRestClient(jira-rest-java-client-app)

I want to get details of a user by its email but I am not able to find any method which can help me achieve this.

However I am there is an api through which I am able to achieve this.

https://api.atlassian.com/ex/jira/{cloud-id}/rest/api/2/user/search?query=example@domain.com.

 

I want to achieve this using the RestClient provided by the atlassian dev's

2 answers

1 accepted

0 votes
Answer accepted

@Nic Brough -Adaptavist-  No worries brother. I saw there is no such method or api which gives you user information by giving its email, So I have implemented my own by calling api (

/rest/api/2/user/search )  with query Parameter query=abd@example.com.
Thanks for your help.
0 votes
Frederik Vantroys
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 20, 2023

Is there any way to achieve this by using UserRestClient provided by Jira?

Nic Brough -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.
Jun 30, 2023

This answer was generated by an AI that has no clue what it is doing.

@Frederik Vantroys please turn off your 'bot, or at least read and check the horribly wrong things before it posts.

Like Ritesh Shakya likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events