Forums

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

can we change the single select list field to multi select list in Jira?

shivani shirguppi
Contributor
July 9, 2024

 

can we change the single select list field to multi select list in Jira?

4 answers

2 accepted

0 votes
Answer accepted
Hubert Kut
Community Champion
February 24, 2025

Hi @shivani shirguppi

Currently it is not possible to do with Jira Cloud. Doctor Pro for jira is an app on the marketplace that is allowing you to migrate from single select list to multiselect list, single user picker to multiuser picker etc. 

It takes care of screens, filters, context etc.
Cheers,
Hubert

0 votes
Answer accepted
Hannes Obweger - JXL for Jira
Atlassian Partner
July 10, 2024

Hi @shivani shirguppi,

unfortunately you cannot change the type of a custom field; you'll have to create a new custom field, transfer over the values from the old custom field, and then delete the old custom field.

For copying the values over, I've seen people use Automation rules for this, or do a CSV export, make changes to the CSV file, and re-import it.

Alternatively, if you're open to solutions from the Atlassian Marketplace, you'll have more options. I'll provide more information below.

Hope this helps,

Best,

Hannes

Hannes Obweger - JXL for Jira
Atlassian Partner
July 10, 2024

... and to expand on my last point: If you're open to solutions from the Atlassian Marketplace, this would be easy to do with the app that my team and I are working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Google Sheets or Excel. You can also bulk edit your fields, using copy/paste. This makes it very easy to copy values from one column (i.e., field) to another column/field.

This is how it looks in action:

copy-paste-across-field-types.gif

You only need to make sure that the values fit the new field. If that's not already the case, you can e.g. copy your values to Excel, manipulate them there, and then copy them back to JXL. 

I should also add that JXL can do much more than the above: From support for configurable issue hierarchies, to issue grouping by any issue field(s), sum-ups, or conditional formatting.

Any questions just let me know!

1 vote
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2024

Hi @shivani shirguppi ,

 

As per my knowledge, you can't change custom field type in jira cloud. you have to create new field with the required type .

more details :

You can't change the field's type (for example, making a single-select field into a multi-select field). To change a field's type, recreate the field using the desired type.

https://support.atlassian.com/jira-cloud-administration/docs/edit-or-delete-a-custom-field/

0 votes
Raju July 9, 2024

Hi @shivani shirguppi 

Could you pls try this script 

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.issue.fields.CustomField
import com.atlassian.jira.issue.util.DefaultIssueChangeHolder

def customFieldManager = ComponentAccessor.getCustomFieldManager()
def issueManager = ComponentAccessor.getIssueManager()

// Replace with your custom field IDs
def singleSelectField = customFieldManager.getCustomFieldObjectByName("Single Select Field Name")
def multiSelectField = customFieldManager.getCustomFieldObjectByName("New Multi-Select Field Name")

def issues = ComponentAccessor.getIssueManager().getIssueObjects(issueManager.getIssueIdsForProject(ComponentAccessor.getProjectManager().getProjectObjByKey("PROJECTKEY").id))

issues.each { issue ->
def singleSelectValue = issue.getCustomFieldValue(singleSelectField)
if (singleSelectValue) {
def multiSelectValues = [singleSelectValue] // Create a list with the single select value
issue.setCustomFieldValue(multiSelectField, multiSelectValues)
issue.store() // Save the changes
}
}

Duhwee Pham
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2025

Hi Raju, how do I use that script?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events