Change Custom Field Type and Map Values

Hi there,

is it possible to add a new custom field and additionally map Values from a existing field to it? My Usecase is to Change a DropDown List to a Textfield. Additonally i want the values of the specific DropDownBox passed to the new TextField. After that i would like to delete the obsolete DropDown.

Any suggestions?

Thanks for your help in advance

1 answer

Hi, if you are not using OnDemand, I would take a look at the Script Runner plugin. There is a built-in script to aid with copying custom field values. Very useful for field migrations.

Hi Harry, i installed the Plugin now, can you give me a hint how to handle this task? I have a DropDown field and want to convert it to a textfield. I will create a new scriptField? And how will i get the Values from the existing Field? Thanks a lot for your help

Not sure if script runner would copy from select list to text field as there's some changes on the schema of select list compared to text field in database since v4.4. You may want to try it out first.

Otherwise, you can change custom field type with this documentation. But the custom field value(customfieldvalue table) of select list actually referring to the option id in customfieldoption table. You may need to constructed a sql queries to update the correct values though. After modification, reindex would be required.

Either way you would need to perform such task in a test instance to ensure it works and not breaking any things in JIRA.

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

49 views 2 2
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot