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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

57 views 0 5
Read article

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