It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

TeckEn 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
Published in Teamwork

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

122 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you