Changeitem Newstring values not matching with displayname in cwd_user table.

I need to check the history of the assignees of reopen defects. After appying the logic I get the data and value can be seen in Changeitem table's Oldstring and Newstring column repectively.
But the values of these columns are not matching with the Display Name present is cwd_user table.
Is the mapping for the same is present in any other table?

2 answers

0 vote

You should find it is recording the unique identifier for a user, not the display name.

Thanks for reply Nic.

But according to my requirement I need to get the Email ID of the names coming in Newstring column of Changeitem table. And therefore I was trying to match the Newstring with the Display Name present in cwd_user so I can the email id.

But the Names coming in Newstring are not matching with the DisplayName. Say in NewString I am getting Swapnil Singh - GA and in displayname i am getting Swapnil Singh.

 

Any pointer will be helpful. TIA

 

I'm not sure what else I can tell you - you need to be matching on the unique id, not display name.

In jiraissue table, column Assignee contains the email id. But when we check the history tables i.e. changeitem the values stored in Oldstring and Newstring are the Names and not the Email Ids.

I need to know from where are these names picked up because they don't appear in cwd_user also.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

816 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you