Forums

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

Changing issue type schema without migrating old issues

Pier Nicolò
Contributor
July 26, 2022

Hi everyone,

We would change the issue type schema in some of our projects, however, we do not want to migrate old issues to the new one.

The ideal scenario is to have the new issue types active in the project and the issues that we don't want to keep in, just "Inactive" or not available in the list during the "Creation" of a new ticket for the project.

I couldn't find any documentation about this except this guide, and I am not sure it might work out of the box:

https://botronsoft.atlassian.net/wiki/spaces/CMJ/pages/4784166/Issue+Type+Scheme+Migration

 

If someone has some idea about how to achieve this behavior it would be wonderful

 

Thanks ahead

 

Pier

3 answers

1 accepted

2 votes
Answer accepted
Dirk Ronsmans
Community Champion
July 26, 2022

Like @John Funk and @Nic Brough -Adaptavist- say, not possible to archive issue types.

I think the fastest/easiest solution might be to simply set up an "Archive" project, link the scheme to that one and move the issues over that have an issue type you no longer want.

Then you can create a new scheme and link that to the "live" project.

Just remove the "Create Issue" permission on that "Archive" project and you still have all your data to report on or to do a search for old data.

Might not be the cleanest but I feel it will definitely be the easiest and with the least amount of work/trickery :)

Pier Nicolò
Contributor
July 27, 2022

Thanks @Dirk Ronsmans , I dunno why that option didn't come up to my mind, but it might be definitely another good option to keep the "Archive" concept available with a workaround.

Thanks for your help

Like # people like this
1 vote
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.
July 26, 2022

It's not possible.  An issue must be of a type that exists within the project.

There are a couple of tricks you can play to prevent creation of the "wrong" issue type, but you can't delete them from the project.  (Scriptrunner's Behaviours can remove the option from the list, or you can put validators on the "create" transition that are impossible)

Pier Nicolò
Contributor
July 26, 2022

Thanks @Nic Brough -Adaptavist- , we currently have Scriptrunner, I'll try to manage it in that way

Dirk Ronsmans
Community Champion
July 26, 2022

Behaviours on Cloud might not be possible :) that's still being worked on I fear.

0 votes
John Funk
Community Champion
July 26, 2022

Hi Pier,

There is no concept of archiving issue types in Jira. You must migrate issues to an existing issue type if you plan to delete one of your issue types or remove it from the issue type scheme. 

Suggest an answer

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

Atlassian Community Events