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

Aurélie Narozniak May 11, 2016

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 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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