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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,932
Community Members
 
Community Events
176
Community Groups

Can a field be set to mandatory based on the value entered for another field?

Hi, can a field be set to mandatory based on the value entered for another field without the use of a plug-in?

For example, if 'Cross Team Issue' field is selected "Yes" then make 'Delivery Date' field mandatory, otherwise leave as optional.

1 answer

0 votes

Not without a plug-in, no.

Only a few plug-ins (apps) can help with that, such as JMWE (our app) or ScriptRunner.

Thanks David. What is the best way to do this in JMWE?

You can use the "Field Required (JMWE app)" Validator and use "conditional validation" to activate the validator based on the value entered for another field, for example:

!!issue.priority && issue.priority.name == "Blocker"

would make the selected field mandatory only if the issue's priority is "Blocker"

The Jira expressions editor and its help system will help you write the conditional validation script. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events