I am looking for steps to create dependent fields in Jira. My requirement is that, I would like to create a dependent dropdown value set. For example, If I have two fields Car Make and Model. So if I select Car make as Toyota the model field should show Camry, Corolla etc and I select Honda as a make then model should show Civic, CRV etc.
I would appreciate if someone can guide me with the steps to achieve it. Can this achieved by using any plugin? I tried behaviors plugin but I think it doesn't with 6.2.2. Is there a step by step documentation on achieving this?
Thanks for your help!
You can use the built-in Cascading Select custom field type. It allows defining options just like you want. Try it out and get back if you've got troubles setting this up.
Thanks Boris! I learnt something new in Jira today! But, I think this is not helping me when I elaborate my requirement further. I have defined some components in Jira. And there are 2-3 fields whose drop down value set is based on the value of Component field. Looks like with cascading there is only 1 to 1 relationship between parent value and child. I am looking for 1 to many. So based value of component (or any other field) I would like to calculate the dropdown values of child field 1, field 2 , field 3.
Thanks again for your help!
Check if this custom field add-on will satisfy your requirements
Otherwise if it's even more complicated you can probably use Script Runner's scripted field and use some funky groovy scripts to calculate the options to be shown :)
That's the only one I know of:
But install it and play around in the Script console. Use the JIRA java api docs for reference and also you can always ask in this forum if you've got troubles.
Hello Ramamand and Boris,
I have similar problem, I need to create 2 custom fields with drop down dependent values. I don't want cascade field as it doesn't have the field name for the second field and plus the default value for each parent field is not changeable and it always shows none. I need to be able to change the default for each field. ex. field1: a1,a2,a3 field2: when they choose a1 for fied1 it should show b1,b2,b3, with default value: b1 when they choose a2 for fied1 it should show b4,b5,b6, with default value: b4 when they choose a3 for fied1 it should show b7,b8,b9, with default value: b7
I was wondering if you can help me please.
Its 2018 now, Is there any add-in which can perform this requirement. I know about Power Custom Fields but they have limitation like it works only with Autocomplete feature and max two custom fields can be dependent, I have around 5 fields dependent on single parent.
Just wanted to know, if we have any thing else to achieve this now.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG