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,467,419
Community Members
 
Community Events
177
Community Groups

Jira issue.getReporterId() returns JIRAUSER64092 instead of id

Hi All,

I am trying to fetch jira reporter id using issue.getReporterId() . but it is returning some garbage value like JIRAUSER64092 for certain users.

Can anyone help help on why I am facing this and how to resolve this.

2 answers

0 votes
Niranjan Rising Star Sep 23, 2020

Has the user been renamed recently?

I am not sure of that. If the user is renamed does this happen?

Niranjan Rising Star Sep 23, 2020

I believe that you are running into this bug https://jira.atlassian.com/browse/JRASERVER-61871

Thanks for providing this link. But this is not the same issue I am facing. It should give username but giving garbage value.

issue.getReporterUser().getName() gave me the correct result.

Like Niranjan likes this
0 votes
Niranjan Rising Star Sep 23, 2020

Hi @Vineela Durbha ,

The one that you are using does seem to get you the user_key. You may need to use issue.get("reporter") .

Hi Niranjan,

Even trying with your suggestion returns the same. Issue i found is even on jiraissue it is storing the garbage value. Attaching the same.Capture.PNG

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events