It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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!

0 votes
Tarun Sapra Community Leader Nov 22, 2017

Hello @tom1443

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

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.

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 in Jira

The Jira Server Mobile App is here!

Hey Community! My name is James and I am a product manager on the Server Mobile team. I am excited to announce the new Jira Server Mobile apps for both iPhone and Android are now available. This is...

64 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you