How to select a custom field-select list based on Component selection

Hi
I want to select custom field list of options based on component, when i select a component, i want to display custom field-"release" select list related to that component only, can you help here.

I dont want to see all list of options of custom field, since that will be big list.

for e.g
i have components Portal, Web etc
i have custom field -"release" with select list = portal rel 1, portal rel 2, web rel 1, web rel 2 etc.
when i select Component "Portal ", i should see only portal release select list, how can i do this .
thanks for your help.

5 answers

1 accepted

Thanks for suggestion, i did this with a groovy script.

Can you share the script? I am currently struggling with getting it to work 

You need a custom field of type "Cascading Select" (Multiple select lists where the options for the second select list dynamically updates based on the value of the first).

Hi @Raju Adluru,

I am desperately looking for this same functionality.   Please can you share the script? 

Hi Cherie

I did this for a client in 2013, sorry i dont have that script with me now, i will check in my archives to find it, mean while search in Answers, somebody else might have posted this.

I would like to do the same.  I have a custom field that should contain different options depending on which component is chosen. If you use the Cascading Select, both fields need to be custom, correct? I have to use the system Component field cause I need its permission scheme. Is there any way to accomplish this? If it can be done with a script, can someone please post? Thanks

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted an hour ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

10 views 0 2
Join discussion

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