Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Move all JIRA associations from one user to another? Edited

Hi,

 

I'm trying to move all jira associations from one user to another. I've followed a guide I found here: https://community.atlassian.com/t5/Jira-questions/Move-all-JIRA-associations-from-one-user-to-another/qaq-p/143805

 

Ran the following sql statements and checked that the database actually was updated:

update jiraissue set assignee='newuser' where assignee ='olduser';
update jiraissue set creator='newuser' where creator ='olduser';
update jiraissue set reporter='newuser' where reporter='olduser';
update jiraaction set author ='newuser' where author ='olduser';
update jiraaction set updateauthor ='newuser' where updateauthor ='olduser';

 

When logging into JIRA I can still se issues assigned to the old username. Is there any other tables and fields I should update aswell?

2 answers

1 accepted

1 vote
Answer accepted
Thomas Deiler Community Leader Jul 15, 2019

Dear @idarlund ,

first of all for the community - do not modify Jira's DB directly, until you know exactly what you do!

Have you shut down Jira before the DB update statements?

My recommended way to do:

  • Export DB dump
  • open XML in suitable editor (entities.xml)
  • search for the user and replace everywhere
  • re-import dump

But do this first on a test environment, until you are 100% sure it had no side effects.

So long

Thomas

The better answer is for Atlassian to GET WITH IT and provide a simple and safe way to do this.  I mean, how many years has Jira been deployed?  But it's hard to keep up with stuff like this when you don't have a good software bug tracking system.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you