Changing custom field type free text to multi select

How would be the best approach from you side for below change.

Custom Field Customer needs to be a multi-select dropdown rather than free form text. This will allow us to create portlets with "Customer" as one of the fields.

There are a number of aspects to this task:

data cleanup of existing records. For example, some tickets have custom field values as VZ, Vz or Verizon. All of these must be cleaned up.

how the migration will deal with tickets that have multiple customers in the free text field

1 answer

0 votes

Not a chance of doing this automatically, you're going to need to do it by building specfic scripts and/or manual work.

I would:

  • As you say, you should first analyse your data to work out what the Customer options should be
  • Rename the old customer field to something like "Customer (deprecated)"
  • Add the new customer field with your new list
  • And now the manual bit - build a search for each customer target. For example "Customer (deprecated) ~ VZ or Customer (deprecated) ~ Verizon" will find the example you've given. Once you've got a moderately accurate list, use "bulk edit" to set the new field. I'd also blank out the old one as a housekeeping exercise, and to make it clear it doesn't need migration any more.
  • Repeat for each customer target field.

Beware though - bulk edit *replaces* fields, so if you have two customers like, say, BP and Shell, you need to have *three* filters and three passes through the bulk edit - one for BP, one for Shell and one for BP and Shell (because if you set BP on issue 1, and then use bulk edit to try to "add" Shell, it will overwrite BP, not add it)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,815 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot