We're trying to import a project from Trac to JIRA.

In the guide it says the following:

https://confluence.atlassian.com/display/JIRA060/Importing+Data+from+Trac

  • Usernames— If you don't specify mapping, the importer will automatically map Trac usernames to JIRA usernames (lowercase).
    (info)Regardless of whether you specify mapping, JIRA will automatically create usernames for missing users.

However, there is no opportunity for me to ever make such a mapping? Is the documentation incorrect or am I missing something?

I definantly don't want these duplicate users in JIRA that I cannot delete... Since you cannot change the user that made a comment like you can for assignee. Which in turn makes it impossible to delete these duplicate users without deleting all the comments.

2 answers

I solved this myself, not by using any JIRA features. But instead I used this script: https://trac-hacks.org/wiki/RenameUsersScriptand ran it on the trac SQLite database file to rename the users to the JIRA ones.

This then worked great when importing the Trac project in JIRA.

Just make sure you backup your Trac database before running the script.

Good find on the RenameUsersScript!

I wrote another PHP script that will update your trac.db ticket_change records replacing the trac-style changeset repository links to a format acceptable by JIRA. Our user story and sample SQL commands to rename users prior to import is also included at the bottom of the script in comments.

tracsvn2JiraFisheyeLinkConverter.php

Cheers!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,586 views 17 21
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