Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

custom issue edit/change field type

Edited

How can I change field type for the custom field? We have Target environment type that is a single choice and we need multi values like checkboxes or select list with multiply choices. Do I need to create a new custom field or I can edit the current one?

2 answers

2 accepted

1 vote
Answer accepted

You cannot change the field type for an existing field. You will have to create a new custom field.

Thank you Trudy! really fast answer

0 votes
Answer accepted

You cannot change field types.

On Server, there's a database hack you can use, but you don't have database access on Cloud.

Your only option is to create a new field, and then use bulk-edit to populate it for existing issues.

Hey @Nic Brough _Adaptavist_ - what's the Server hack? Thanks!

You can hack the database.  Each type of custom field is handled by a class in the java code, and if you look at the custom field header table, you'll find the system simply names the class it's going to use to handle the field as the "type"

If you're going to do that, you have to be aware that:

  • There is significant downtime required
  • The data in the source and target types must be compatible. 

You can't convert text to select, date to number, and you can't go multi-thing to single without some thought (a single select can be flipped to multi-select, but you can't flip multi to single unless you've checked and cut down any field that currently has more than one value selected).  Short text can go to long text, but not vice-versa.  You can get away with converting date/time to just date, but it will work very oddly unless you amend the data to blank out the time element.  And so-on.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

529 views 1 9
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