Forums

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

Cascading Select List - Only Record Second Value

Jacob Watts February 3, 2020

Is there a way to use a cascading select list but only record the second value selected?

I have no need for the first option. I’m only trying to use the cascading select list because there are several hundred options to choose from.

 

Thanks!

1 answer

0 votes
Mohamed Benziane
Community Champion
February 4, 2020

Hi @Jacob Watts 

Welcome to the community,

If you don't need the first option, why you don't use the select liste (multiple or single choice). If you can't, put a value like "none" or what you want to use it as a dummy value for the first list and be able to access the second list.

Jacob Watts February 4, 2020

Thank you for the reply @Mohamed Benziane but I have this field currently as a select list. It is several hundred values. It is a bit much to expect users to sift through that list every time they get a new ticket to set that value. It takes a few minutes, and doing that across all users, for multiple tickets a day adds up to some lost time.

So I want to use a cascading list so they can select option 1 and only get a subset of the values. A much more usable chunk like 50-60 values. I have no need to capture the initial value though, it's just to make the list easier to use.

Mohamed Benziane
Community Champion
February 4, 2020

So in this case, i will suggest to use two dummy value in the parent option to slice the list.

Jacob Watts February 4, 2020

But the problem @Mohamed Benziane is that "dummy" value is recorded in the resulting ticket(as far as I know I can't change that behavior). I don't want that dummy value anywhere in my tickets. So that is my question. Can the cascading select list be setup/changed to only record the second value.

Mohamed Benziane
Community Champion
February 4, 2020

I don't think you can achieve this. You're describing the use of the selecting list (single choice).

Mohamed Benziane
Community Champion
February 4, 2020

Maybe you can follow this thread, there is interesting post about creating selecting list (cascading or single choice) and make them autocomplete with some javascript in the description.

 

https://community.atlassian.com/t5/Jira-questions/Creating-a-custom-field-with-autocomplete-text-field/qaq-p/53806#M22587

(look at the Benji's comment)

Jacob Watts February 4, 2020

Thanks, @Mohamed Benziane thats an interesting idea. I'll look at it.

 

That brings up another question though. Is that javascript in the description field supported in the latest versions of Jira(I'm hoping it is as I use it for other things as well). I read things saying it is going away, but I've not read anything definitive saying it is no longer possible.

Mohamed Benziane
Community Champion
February 4, 2020

I just tried it in my instance 8.5.1 and it works

Jacob Watts February 4, 2020

Awesome, thanks!

Mohamed Benziane
Community Champion
February 4, 2020

You welcome. Feel free to mark you answer as solved to help other member of the community you may have the same request.

Jacob Watts February 4, 2020

Thank you @Mohamed Benziane but I'm not going to mark it complete because I still think there should be a way to do what I'm asking; be able to use the cascading select list to divide a big list up and only record the second value.

Suggest an answer

Log in or Sign up to answer