I can't change custom field type

Hi, I am using Jira 3.5, and I need to change some custom fields' type.

Here's what I did to test the procedure:

1. Create a new radio buttons custom field

2. Stop Jira

3. Execute:

UPDATE CUSTOMFIELD
    SET CUSTOMFIELDTYPEKEY='com.atlassian.jira.plugin.system.customfieldtypes:multiselect',
    CUSTOMFIELDSEARCHERKEY='com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher'
WHERE ID=10570

4. Start Jira

5. Re-index

But in Jira, the type of the custom field is still radio buttons. Moreover, after doing that, it's impossible to delete the custom field (the webpage never finishes to load).

Please could anybody tell me what did I do wrong?

2 answers

1 accepted

Ok I got it, it's because I didn't commit after the database update :)

thanks, but I used the same procedure and it doesn't work...

1
2
3
4
UPDATE CUSTOMFIELD
SET CUSTOMFIELDTYPEKEY='com.atlassian.jira.plugin.system.customfieldtypes:multiselect',
CUSTOMFIELDSEARCHERKEY='com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher'
WHERE ID=10570
is that you tried select also in place of multiselect?
UPDATE customfield SET CUSTOMFIELDTYPEKEY = 'com.atlassian.jira.plugin.system.customfieldtypes:select',
UPDATE CUSTOMFIELD
SET CUSTOMFIELDTYPEKEY='com.atlassian.jira.plugin.system.customfieldtypes:multiselect',
CUSTOMFIELDSEARCHERKEY='com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher'
WHERE ID=10570
is that you tried select also in place of multiselect?
UPDATE customfield SET CUSTOMFIELDTYPEKEY = 'com.atlassian.jira.plugin.system.customfieldtypes:select',
The above comment is appearing with improper readability.so I again posted

Yes I tried it.

But I have just noticed something important: when I re-index Jira, the custom field type is set back to radio button in the database.

Do you have any idea how this could happen?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

346 views 4 9
Read article

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