Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can this be applied to two different conditions instead of one?

Harshitha Kuna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2024

For eg:- I have 2 fileds which has values Yes, No and I need to vlidate for both the fields and based on those conditions I have to make 2 more fields mandatory. Is this possible?

2 answers

0 votes
Andrei Cuzuioc _ScriptRunner_
Contributor
January 30, 2024

Hi @Harshitha Kuna,

You can achieve this with ScriptRunner's Behaviours feature (more information here; note: this app only works if you have ScriptRunner installed).

Here's a demo video showing how to conditionally show/hide fields based on the selection in another field. We also have a script example to help you implement this solution and you can find it here.

Hope this helps!

Best regards,

Andrei 

0 votes
John Funk
Community Champion
January 30, 2024

Hi Harshitha - Welcome to the Atlassian Community!

No, you cannot accomplish this with OTB Jira. You would need an add-on like ScriptRunner Behaviours, but not sure if it is working with custom fields yet or not. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events