Forums

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

sql script to renumber issueType ids

abigtoe December 14, 2021

I was attempting to migrate a configuration from staging to production and all went well except that the  ids of some issue types are not the same.  Is there an sql query that can be run to renumber the issueType id?

1 answer

0 votes
Nic Brough -Adaptavist-
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.
December 15, 2021

Yes, but you do not want to do it.

The issue type id is used in several places, and unless you have a 100% complete list of all the places it might be used and a thorough understanding of the database, you are probably going to break it.

Why do you think you need to do this?  What's wrong with accepting that your migration has handled the numbers in a consistent way?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.3
TAGS
AUG Leaders

Atlassian Community Events