Changing an existing Custom Field (List) to Cascading list

FMchar March 5, 2024

Current setup: A custom field setup as Select List (multiple choices)

Proposed setup: Ideally change the field to a Select List (cascading) and then be able to add child options based on the value selected in the parent field.

Is this possible? Thank you

3 answers

0 votes
FMchar March 5, 2024

Edit: Removing post as not answer!

0 votes
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.
March 5, 2024

Hi @FMchar ,

 

As per my knowledge, out of the box you can't modify the custom field type in the cloud version. On cloud version, you don't have database also.  

 

Suggestion is already raised with Atlassian @

https://jira.atlassian.com/browse/JRACLOUD-68930 

FMchar March 5, 2024

Thank you for your prompt reply. 

What would be the simplest way of moving data across between the old field and new field in this instance?

 

 

Matt Parks
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.
March 5, 2024

@FMchar Do you have Scriptrunner? If so, you could write a script that would copy the values from the multi-select list to the first option in the cascading select list.

FMchar March 5, 2024

Thanks @Matt Parks but do not have it or able to get it 


Any other option here to copy values between the custom fields?

Matt Parks
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.
March 5, 2024

You could do the following:

1. Create a new query and have the multi-select field along with the issue key in the list of fields. Export that to a csv.

2. Import the csv, but map the column with the data from the multi-select field into the new cascading select field. If you also map the issue key, it will update the new field.

A few caveats:

1. I would assume that the options between the multi-select and the first value in the cascading select are the same in your configuration

2. I'm assuming that just selecting one column for the cascading select in your import will automatically update the field appropriately, but I've never tried it.

3.  Because of the first two caveats, I'd recommend doing this in a test environment first.

0 votes
Matt Parks
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.
March 5, 2024

Unfortunately, you can't just change the type of a custom field once it's been created.

I thought that, if you had Scriptrunner, you could use the built-in script to copy values from a multi-select to a cascading select (after creating a new field), but it appears that it isn't supported between those field types.

Suggest an answer

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

Atlassian Community Events