Creating mandatory fields

Hi,

I like to know if there is a way to make a custom field value mandatory for
ticket creation other than modifying the CustomField.html directly? I have
read through the RT manual and did some online research but found no
positive results.

Thanks in advance for your help.

Cheers,
zhenwei

At our site have just finished putting in this functionality so that:

  • Mandatory is a separate check-box, independent of validation
  • It is enforced on creation and modification through any interface
    (email, REST, GUI)

I hope to generate the patches and submit them soon.

PK

Very cool. I look forward to em.

At our site have just finished putting in this functionality so that:

  • Mandatory is a separate check-box, independent of validation
  • It is enforced on creation and modification through any interface
    (email, REST, GUI)

What about direct API usage?

PGP.sig (186 Bytes)

At our site have just finished putting in this functionality so that:

  • Mandatory is a separate check-box, independent of validation
  • It is enforced on creation and modification through any interface
    (email, REST, GUI)

What about direct API usage?

As long as you’re not inserting directly into the DB you’re safe :wink:
It’s all invoked from Ticket/Asset->Create, or
Add/DeleteCustomFieldValue.

Best,

Wojciech Jawor
Software Architect
Shopzilla, Inc.

What about direct API usage?

As long as you’re not inserting directly into the DB you’re safe :wink:
It’s all invoked
from Ticket/Asset->Create, or Add/DeleteCustomFieldValue.

I believe Wojciech also put in API calls SetMandatory() and
IsMandatory() for CFs too.
We’ve tested it with CommandByMail, REST (which needed some work to
propogate errors properly) and the GUI.

PK