Import github commits containing trac ticket reference syntax

We are thinking of migrating to JIRA from Trac. Our code repositories are hosted at GitHub. I've done a test import of the trac and then went to set up the link to GitHub. Nothing shows up in the commit tab.

Of course, since we've been using Trac commit messages have been referencing issues in the way Trac expects - i.e. Re #1234 or refs #1234. Is there a way to get the existing commits to appear under the commits tab (the issue numbers do match after the import)? I realise that in general there'd be an ambiguity, but we only have one project in our JIRA account. (Of course if we went with JIRA we would start including the correct key in the commits, but we would really like to have the historical commits fully included as well.)

2 answers

0 votes
Jason Worley Atlassian Team Nov 19, 2013

Did you establish the link via the DVCS connection? You can verify that by going here:


More details are available here:

As far as syntax, it would be ISSUE_KEY #<transition> <comment_string> so for example:

JRA-090 #close Fixed this today

Full list of syntax options:

Hope this helps!

Yes, the link is set up and I can make test commits appear fine. What I want to know is whether it's possible to make our 29k existing commits show up under the commits tab for the 8000 issues imported from trac. Naturally, the commit messages for these do not use ISSUE-KEY, but rather "Re #NNNN".

Still waiting for an answer one way or the other to the question of whether, when importing from trac, there's any way to get previous commits to show up in the JIRA commit tab even though they used the syntax for hooking into trac.

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,813 views 18 22
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