Hide / Show custom field based on value in another field.

Hi

Is there a way I can enable one field based on value in another field.
Is there a portable way?
Looks like I have to change scripts if the solution is based on custom field id's when I move from dev -> test -> staging -> production
I have a dropdown(select) with 3 values val1, val2 and val3
If we select val1 then another field ( a text filed) need to be enabled.
It could be either enabled/disabled or hidden/shown which ever is portable.
Please let me know.
Abe

1 answer

0 vote

I think you've answered your own question. The documentation you've linked to is the best place to start, and there is no more "portable" way available, unless you write some extra code to work off the name of the field (which is risky because you can change the name of a field very easily)

The only issue with the above approach is that i will not work in JIRA 5.1 with inline edit enabled.

Very true. All these javascripty tricks are vanishing as Jira's interface becomes more clever...

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,342 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot