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

Yew Teck En Atlassian Team Apr 17, 2013

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 Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

53 views 4 0
View post

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