How to show a field based on the value of another field?

Hi,

I'm working on a small addition to an issue type for someone and ideally it would be be good to be able to show additional fields based on the value of another field.

So I have 4 single choice drop-down fields: Area, sub-area 1, sub-area 2 and sub-area 3.

I would like to show sub-area 1 if the value of area isn't "None" and so on. Is there a way to easily do this?

Thanks

4 answers

This widget could not be displayed.

Hi Tom,

You can do this using the Power Scripts add-on, which can also do countless other things you will likely want to do with Jira.

Here is a video tutorial walking you through how to show and hide custom fields based on selection in another field.

I hope this helps!

This widget could not be displayed.
Tarun Sapra Community Champion Nov 22, 2017

Hello @Tom Bailey

JIRA out of the box doesn't support such manipulation of fields (show/hide). Easiest way to do it is to use "behaviour plugin" which is part of script runner plugin.

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

Some examples here -

https://scriptrunner.adaptavist.com/4.3.1/jira/behaviours-overview.html#_hidden_fields

This widget could not be displayed.

Hi,

Have a look at "Cascading Select list" custom field type, that might fulfil your needs. It allows you to configure two level select options. 

Ex. For parent 'Value 1', there could be multiple select options a, b c etc.. for 'Value 2' there could be different options x, y, z etc and so on..

This won't be useful in this instance as cascading can only have 2 lists, thanks anyway though.

This widget could not be displayed.

Hello,

please try the custom fields "Select List (Cascading)" field type in your project-config menu

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 8 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

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

26 views 1 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