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.
Has the user been renamed recently?
I am not sure of that. If the user is renamed does this happen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe that you are running into this bug https://jira.atlassian.com/browse/JRASERVER-61871
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for providing this link. But this is not the same issue I am facing. It should give username but giving garbage value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
issue.getReporterUser().getName() gave me the correct result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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") .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.