Can we set a custom field as mandatory based on other custom field value ?

Hello,

i have two fields  :

One field with a check box :

Documentation provided : yes no

if the gield Documentation prodived = Yes , i would like that my fields  location of documentation (which is a text) becomes required

 

is it possible?

1 answer

0 vote
Joe Pitt Community Champion May 11, 2016

It depends on when the first one is filled out. Since you're in the cloud you don't have access to scripting. If the field is saved BEFORE you want to test for it you can do it with a validator from the JIRA suite utilities. You can setup 2 transitions that test for the field. If it is full allow transition 1 and use the JIRA suite utilities to make the field required in the transition (make sure it is on the transition screen). Transition 2 would be allowed if the field is empty and wouldn't require the field. The user will only see one of the transitions depending on the status of the checked field.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

184 views 1 17
Join discussion

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