Active Directory - username changed but only partially in JIRA


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?


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:

The recommended fix is described in detail here:

Good luck!

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published 9 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot