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 Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

375 views 6 0
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