changing issue numbers

Abdul Momeni
Contributor
August 14, 2023

I had a project that was team managed and needed to make it company managed. For that I had to create a new project then move all the items to that new project, delete the old project so I can be able to reuse the key again which I have done. I was able to use the old project key again and changed all items to that project name. Issue is that all the old items were renumbered, I have a list of all current ID's and previous ID's. I wanted to see if I can use a CVS file and go in and change the new issues keys back to the old issue numbers 

1 answer

0 votes
Tugba Capaci
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.
August 15, 2023

Hi @Abdul Momeni 

I'm afraid it's not possible to directly change the issue keys in Jira, as they are generated by the system.

However, you can use a workaround, like this;

  1. Create a Custom Field: Create a custom field (e.g., "Old issue key") in your Jira project to store the old issue numbers.
  2. Export : Export the current issue data, including the issue keys and the new IDs, to a CSV file. Make sure to include the new custom field you created to store the old issue numbers.

  3. Manipulate the CSV Data: In the CSV file, use your list of current IDs and previous IDs to match and replace the new issue keys with the old issue numbers in the custom field column. 
  4. Import Data: Once you've updated the CSV file, import it back into Jira.


It doesn't actually change the system-generated issue keys. Instead, it adds a custom field to store the old issue numbers alongside the new keys. This way, you have a record of the old numbers associated with the new keys.

I hope it helps!


Tugba
actioner.com

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events