Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

to convert a custom field of list type(single-select) to list-type(multiselect) in a screen?

M GOKARI February 22, 2021

Please suggest if thr is a way to convert a custom field of list type(single-select) to list-type(multi-select) in a screen, without deleting the original custom single-select list

2 answers

0 votes
Srikanth Ganipisetty
Contributor
March 3, 2022

Hi @M GOKARI @Jack Brickey 

You can also use Script runner- copy values in built in scritps console, and put those fields into a JQL Filter,- call only those tickets using this filter.. 

provide the current custom field ID, new custom field ID. 

They'll get copied eventually and quickly.. like a CLICK. Since, having the bulk edit limitations of 1000 normally, for a tickets of 100K + this would help much better. 

Delete the custom field - ONLY after verifying the worflow postfunction- listeners, automations, JQL Filters, Dashboards, External scripts using this OLD custom field ID. They may all get broken.. otherwise Try SQL Update... like

https://community.atlassian.com/t5/Jira-questions/Single-select-field-to-Multi-Select-field/qaq-p/1798061

A project reindexing could help after this method!!!

Thanks,

Srikanth Ganipisetty

0 votes
Jack Brickey
Community Champion
February 22, 2021

You can’t change a field type like this. Consider the following ideas:

  • create the new MS field then using JQL search for issues by each SS field value and use bulk edit to update the MS field to be the same as that SS field value. Rinse and repeat for each SS field value then deplete the SS field.
  • Create new MS field. edit the workflow and make ‘reentrant’ transitions for each status and use a Post Function to copy field value. Using JQL find issues by status and execute the reentrant transitions. Rinse and repeat then delete SS field and clean up the workflow.
Srikanth Ganipisetty
Contributor
March 3, 2022

See the above answer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events