I have defined two custom fields (Select List) in JIRA and I want to link these fields

I want to link two Select List type Custom Fields in JIRA in such a manner that on the basis of the option selected in field 1, Options of field 2 appears.

Example: Say Field 1 is Food Type and options are Veg and Non-Veg.

Field 2 is Menu and it has names of various veg and non veg dishes in it.

Now in Field 1 when I select Veg, in Menu field all veg dishes should appear and in Field 1 when I select Non-Veg, in Menu field all non-veg dishes should appear. How do I configure this?

1 answer

This widget could not be displayed.
Alexey Matveev Community Champion Nov 27, 2017

Hello,

You need to create cascading select custom field. In configuration settings for the field you can define child values for each parent value. This field will actually represent two fileds on the screen. One field will contain parent values and the other field will contain child values. Child values will be filtered by parent value.

Thank you Alexey!

One more query.What if instead of two steps I want three step cascading field. For example, before selecting Veg or Non-veg, I also want to select Culture.

To make it more clear, Say first I select Culture (Eastern or Western), then Food Type (Veg of Non-Veg) and last select menu based on previous two options.

Is this possible and how?

Alexey Matveev Community Champion Nov 28, 2017

You can not do it for 3 fields, only for 2 fields.

If you are not on Cloud version and you have Adaptivist Scriptrunner, then you can use Scriptrunner behaviours, but you would need to code.

You can read more here about Scriptrunner

https://scriptrunner.adaptavist.com/5.2.2/jira/behaviours-overview.html

Thank you Alexey, I will check scripting option.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

53 views 0 0
View post

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you