Active Directory - username changed but only partially in JIRA

Hello,

I have the following issue:

  1. We sync our JIRA with our Active Directory
  2. A user, with username "cmatthews" was created in Active Directory. 
  3. This user created various issues in JIRA which were successfully resolved and closed.
  4. This same user asks for a username change and it is changed in Active Directory to "cthomas"
  5. Active Directory syncs with JIRA and successfully changes the username from "cmatthews" to "cthomas" in the [cwd_user] SQL table.
  6. However, when this user now creates an issue in JIRA the associated user in the [jiraissue] SQL table remains "cmatthews".

Since we consult JIRA data throught the REST API, we cannot seem to get the issues raised by "cthomas".

I have tried to clean the JIRA cache, reindexed issues, restarted JIRA from zero, but to no success.

Our JIRA Version is: v6.3.4

Any suggestions?

thanks!
Jacques

1 answer

This may be related to the following bug in JIRA:

The root of the problem is that the JIRA DB is not completely updated if a username is edited. In the GUI, worklogs are properly modified to display the new username, not so using the REST API. This means that work logs extracted using the REST API are returned with the wrong (old) username!

A description can be found here:
https://jira.atlassian.com/browse/JRA-36642

The recommended fix is described in detail here:
https://answers.atlassian.com/questions/250787

Good luck!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

13 views 0 3
Read article

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