Hi,
While performing the Import and Export of CSV files from one instance to another i want capture same issue key is it possible in JSM.
Please help me out on the same.
Thanks,
Hello @Sreenadh
When exporting issues from Jira to a CSV file, the issue key is included in the file by default. However, when importing the CSV file into another instance of Jira, new issue keys will be generated for the imported issues.
Thanks
Asha
Your two systems use different numbering systems, so there's no way to guarantee that any import can preserve the numbers.
There are a couple of tricks you can play on Server that can preserve incoming issue keys (as long as they do not already exist in the target, but there's nothing for Cloud.
Yes, this possible.
Create your project in the new instance with the same Key.
When importing by CSV, ensure you have an Issue Key column with values in issue key format like so:
And then they'll upload with the same key.
Cheers,
Suzi
I am afraid this is misleading.
Issues will be imported with keys created in line with the sequence for the project they are being imported into. Think of it as being the same process as when a human clicks "create issue" for each line in your CSV
If you map the issue key in the CSV to the key in Jira, then Jira will look for the issue key, and if it finds it, treat the import as an edit of the existing issue. If the issue does not already exist, then it will create the issue with the next number for the project. It will not use your "issue key"
You can map your issue key into a custom field to hold it as a reference, but it will not be the key of the issue.
Hi Nic,
I have done the exact process I outlined above and it worked. We deactivated an old instance and brought it in under our new instance as an new project. We have retained the same key for every ticket so that if staff need to refer back to an old ticket and they have the number it matches to the new instance. In this situation we were moving to a new project with no tickets in it so none of the issue keys existed in the new project.
However, yes I agree if they are moving to an existing project that is already in use with multiple tickets and the key already exists it will update the existing ticket. In which case, it is better to have a custom field, move the previous ticket number value to that column in the CSV and then Issue Key will be the value from the new instance that you want to update.
I'm afraid you have not. I suspect what you have done is used one of the tricks - the keys in your files line up with the current project counter settings, so you've just set it up to create things in the right order.
It looks like you're new here. Sign in or register to get started.