Migrating a custom field from one type to another

Custom fields in JIRA are of different types-text fields, select lists, number fields, and so on. We might come across scenarios where we need to change the type of a field but without losing all the data we have entered until then! Is possible to do that? It is, to a certain extent. In this recipe, we will see how to do it.

The type of a field can only be changed via the database, as the UI doesn't support that. And it won't be possible with all the field types. For example, it isn't possible to convert a text field to a number field because all the values that the field already has may not be numbers. However, the reverse is possible, because all number values can be treated as text values. Similarly, ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.