I am trying to figure out how to convert a field we have [Select List (single choice)] into a [Select List (multiple choice)] field. We have many options and this has been a single choice field for quite some time. Is there an easy way to convert this and keep all the past data?
No, but sort of yes.
No, because you need to hack the database, and I rarely recommend that. But in this case, actually, yes, you can actually just change the type - see https://confluence.atlassian.com/display/JIRA/Changing+Custom+Field+Types
Just be sure you want to do this - the process is a nightmare to do in the opposite direction (multi to single) and, as always, backups are your absolute best friend ever. Seriously. Test it in dev/test, and always have a backup before you amend anything.
Hi @Nic Brough [Adaptavist],
You said the process is a nightmare to do in the opposite direction (multi to single select). Well my customer just asked me to do that exact thing. I am trying to talk them out of it, but if I fail any thoughts on how to do that?
My only thought was to create a new Select list that has the same values as the multi select and bulk issue change, and add the value to the new field (There are about 40 values so that means 40 bulk changes). From there delete the multi and rename the single to the name of the multi. Fortunately I am the only admin and I know there are no validators/scripts/etc that call that field or their field ID would need to be changed as well.
Any other unseen problems with this method?
Any other ways?
I think you've got everything covered there, but you could go from multi-select to single-select in the database.
The main problem there is now usually just the customer. It's often hard to get them to explain which single value they want to keep, but if you can get that out of them, then you can use SQL to cast back from an array to a single value.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :). In the spirit of this month's august-challenge, we're sourcing stories of Jira Service Desk activation fro...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs