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
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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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