You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to make a request to purchase ScriptRunner but one of reasons I want this is to hide a custom field based on the results of another custom field. I'd like to test this functionality out myself to see if it works the way I'd expect but we share our JIRA with other teams at our company and they've already used up the free trials. Does anyone have a video of this behavior?
While it doesn't show hiding fields specifically, the demo in this video should give you a good idea how Behaviors (which comes with ScriptRunner) is going to function. They show making a second field mandatory based on the value of the first field, then they go through showing/hiding issue tabs based on a field.
I was also able to find a code example of what you're looking to do here. Between the two, I think you should be able to have confidence that it'll do what you expect.