Migrating Projects to new Jira server

Our company is trying to migrate projects from one instance of Jira to another.

The project import service throws "The Issue Link Type 'jira_subtask_link' is required for the import but does not exist in the current JIRA instance." error.

Our projects only use one subtask, "Technical Task" created by greenhopper, which exists on both servers.

Projects without subtasks migrate fine. Is there something I am doing wrong?

5 answers

Hey Chirag, how you doing? =)

It may be the case that you have an 'issue link' type in the source project that is not present into the destination JIRA. (Issue links are often used to associate issues that are dependent / complementar/ side effect, e.g. blocks, relates, is related, is more important etc). Please check more of this subject here:

Take care and best regards!

Cheers,
Pedro.

Hi Pedro,

I am doing well.

I have already checked the issue links under System Administration and added all the issue links onto the new server.

Hey Chirag,
Thanks for the feedback.

So is this issue link 'jira_subtask_link' present into the destination JIRA? As per the error, looks like somehow JIRA is not able to find it. Could you double-check or try it again, just to see if the error message changes? I believe you are all set with the pre-requisites, so, this should not be an issue ;)

Cheers,
Pedro.

I checked the DB and it seems that this issue link exists on the old server and not on the new server. I verified this in the issuelinktype tables on the DBs. I do not know why this link does not exist on the new server.

Hey Chirag,
Thanks for the update.

The following two pages can help you on that ;-)

  1. Linking Issues
  2. Configuring Issue Linking

Please have a try and let us know how it goes!
Looking forward to hear from you.

Cheers,
Pedro.

Hi Pedro,

That didn't work since I am not able to specify the pstyle of the issue link. I think I will have to edit it directly from the DB since the REST API doesn't allow users to specifiy the pstyle field as well. The other option is putting a null value for the style in the xml backup for that link.

Hi Chirag,
Thanks for letting us know.

That would work, although I would test first on a sandbox to guarantee this change into the DB would smoothly be adopted by JIRA app. If it worth the effort, it would be an option. If we are talking about 1K+ issues with many issue links, then it worths. Please let us know your thoughts about that.

Looking forward to hear from you.

Cheers,
Pedro

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

223 views 1 18
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