CustomField - "Mandatory" not working

To list,

I just ran across an odd occurence in a ticket. I have a Queue that uses
several Custom Fields, only 1 of which is set to “Mandatory” for validation.
Whil ein the ticket, I made changes to various ticket fields (none of them
Cf’s) and I got the expected error when I tried to save the ticket. When I
modified one of the CF’s and NOT the Mandatory one, the ticket was saved AND
when I resolved it, it DID resolve.

Has anyone else had this problem or am I alone on this and need to look at
some other cause?

Kenn
LBNL

I just ran across an odd occurence in a ticket. I have a Queue that uses several Custom
Fields, only 1 of which is set to “Mandatory” for validation. Whil ein the ticket, I made
changes to various ticket fields (none of them Cf’s) and I got the expected error when I tried
to save the ticket. When I modified one of the CF’s and NOT the Mandatory one, the ticket was
saved AND when I resolved it, it DID resolve.

Has anyone else had this problem or am I alone on this and need to look at some other cause?

Kenn

You’ve neglected to tell us how you created the ticket, whether the
ticket had a CF value set when you edited it, and why resolving a
ticket would block on a mandatory CF. You must have written a scrip
to do that. RT Custom Fields are only mandatory during create and
because they don’t allow you to unset them during editing.

-kevin

Kevin,

Sorry. I created tickets via email. If I create the ticket via WebUI, then
the Mandatory edit seems to kick in as it should. Your comment on what RT
does during edit & resolve pretty much answers my question. I’ll write a
scrip to reset the ticket status and send a notification when this happens.

Thanks.

OH. Quick question. In 4.01 does RT allow for user-defined error messages?
In past versions it has been mentioned that we aren’t able to get RT to
display an error message of our own. Just curious.

Kenn
LBNLOn Fri, Jul 1, 2011 at 8:06 AM, Kevin Falcone falcone@bestpractical.comwrote:

On Thu, Jun 30, 2011 at 01:41:46PM -0700, Kenneth Crocker wrote:

I just ran across an odd occurence in a ticket. I have a Queue that
uses several Custom
Fields, only 1 of which is set to “Mandatory” for validation. Whil ein
the ticket, I made
changes to various ticket fields (none of them Cf’s) and I got the
expected error when I tried
to save the ticket. When I modified one of the CF’s and NOT the
Mandatory one, the ticket was
saved AND when I resolved it, it DID resolve.

Has anyone else had this problem or am I alone on this and need to
look at some other cause?

Kenn

You’ve neglected to tell us how you created the ticket, whether the
ticket had a CF value set when you edited it, and why resolving a
ticket would block on a mandatory CF. You must have written a scrip
to do that. RT Custom Fields are only mandatory during create and
because they don’t allow you to unset them during editing.

-kevin


2011 Training: http://bestpractical.com/services/training.html

OH. Quick question. In 4.01 does RT allow for user-defined error messages? In past versions it
has been mentioned that we aren’t able to get RT to display an error message of our own. Just
curious.

No, you cannot pass warnings from Scrips into the web UI in 4.0.1

-kevin