Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I import a jira ticket from a jira instance to another jira instance(different servers)

Ioannis Evangeliou September 11, 2018

Hello all,

I am trying to import an xml from a Jira instance into another. I chose export as xml and saved the file to an xml file. Then I tried both copying the content of the file and by pinpointing the file path into our Jira server but they fail because of this error:

workflow XML: Document is invalid: no grammar found. (line:9 col:5). Please see log for more details

I then tried the project configurator add-on from Atlassian Marketplace. This also fails because of this reason:

An error occurred:

javax.xml.bind.UnmarshalException - with linked exception:Β [org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 22; cvc-elt.1: Cannot find the declaration of element 'rss'.]

Can you help me here? Do you want me to upload the xml that I am trying to import?

Kind Regards,

Giannis

 

 

3 answers

1 accepted

0 votes
Answer accepted
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2018

- find a decent csvexport/import plugin from the marketplace and install it in your source instance.

-find your issue with jql (key=xxxx-23)

-export as csv

- remove the issue key column from the csv.

-import the issue in the other instance.

Ioannis Evangeliou October 10, 2018

Thanks very much for the reply ,it worked fine

0 votes
Adrián Plaza [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2018

Hi @Ioannis Evangeliou,

 

You can try different plugins for this proposed for example:

I hope this help.


Cheers,
Adrián.

0 votes
Mohamed Benziane
Community Champion
September 11, 2018

Hello Giannis,

 

From the KB you can read this:

Workflows and workflow schemes:

  • The project import process does not import workflows or workflow schemes. If you wish to retain a customized workflow from your backup, you will need to create a new workflow in your target JIRA instance and manually edit the new workflow (e.g. create steps and transitions) to reflect your old workflow (note, the default JIRA workflow is not editable). You will then have to add this workflow to a workflow scheme to activate it.

Do not use the JIRA functionality for exporting and importing workflow XML definitions, to copy your backup workflow to your target JIRA instance. The workflow import/export tools do not include workflow screens in the process. Hence, you will be required to manually edit the workflow definitions post-import to match up new screens to the workflow, which is more work than it is worth.

 

Can you read this you will get more information about importing project

https://confluence.atlassian.com/adminjiraserver073/restoring-a-project-from-backup-861253833.html?_ga=2.87031448.1210436022.1532335173-139242887.1529317978

 

Regards

Ioannis Evangeliou September 11, 2018

Hello Mohammed,

Thanks for the quick response. 

 

Just to make clear that I did not misunderstand something. I exported an xml and then I tried to import it by doing the following steps:

From Jira Administration> Issues> Select Workflows on the left screen> Click Import button-Import XML. Is this importing a workflow? Because I understand it as importing an xml. If I want to import a single ticket, and not a whole bunch of tickets, what should I do? Should I create manually the workflow/ticket and then edit it? Because if this needs to be done for hundreds of Jira tickets it looks like a lot of time effort is required. 

 

P.S  Is the term project used by you and in documentation for a single Jira ticket, hence a single xml ?

Kind Regards,

Giannis

Mohamed Benziane
Community Champion
September 11, 2018

Sorry for the misunderstood,

 

You doing it right, you followed this link i guess ?

 

Regards

Suggest an answer

Log in or Sign up to answer