How to populate custome field in Jira?

Venki Thyagarajan September 25, 2015

We have a custom field called product which is a select list (single choice) and we have an another field called component which is dependent on the product field value. So when a particular product is chosen, we would like to populate the component select list and display the value. How do we do that?

4 answers

1 vote
Deniz Oğuz
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.
September 25, 2015

I don't know it is suitable for you but you may also use Cascading Select Custom Field to do this, without using any plugin.

0 votes
Nuwan September 27, 2015
0 votes
JamieA
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.
September 27, 2015

If you want to use behaviours, there are examples for setting valid select list options here:

https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/setting-default-fields.html#_setting_defaults_for_selects_etc

So you add a behaviour to the first select, which will set the possile values for the second select.

0 votes
Venki Thyagarajan September 26, 2015

Thanks Denis but Cascading select column does not fit our needs. We need to keep the two field names separate. Is there a way to do this in cascading? 

Suggest an answer

Log in or Sign up to answer