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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 6 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

85 views 4 5
Read article

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