Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Behaviors - Setting conditionally hidden field mandatory only when visible

Hi

 

I have a field that is only visible if another field is set to a specific option on the previous step. What I'm unable to do is have the conditional field be mandatory ONLY when it's visible

 

Here's my current script

 

 def dropDown = getFieldById("customfield_12200")
def conditionA = getFieldById("customfield_13105")
log.debug("dropdown value" + dropDown.getValue())

if (dropDown.getValue() != "SC-229") {
conditionA.setHidden(true);
}

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

727 views 7 24
Read article

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