We also have this in our local/html/Ticket/Update.html
if ($DefaultStatus eq 'resolved') {
# if we are resolving a ticket and there has been no time submitted,
# do not allow the ticket to resolve. must check that SubmitTicket is
# set, or we prevent the close page from loading and thus NO ticket can
# be resolved.
if ((! defined($TicketObj->TimeWorked) or $TicketObj->TimeWorked ==
0) and
$ARGS{'UpdateTimeWorked'} <= 0 and
exists $ARGS{'SubmitTicket'} ) {
Abort("You cannot resolve a ticket with zero time worked.
Please reselect the ticket and try again");
}
Hope it helps
Rik
Message: 1
Date: Wed, 14 Feb 2007 16:04:11 -0600
From: "Don Beethe" <[EMAIL PROTECTED]>
Subject: [rt-users] Require entry in Worked: field
To: <[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
I'm sure this has been done, just can't seem to find it on the
documentation.
What mods do I need to make to require this entry?
Thanks
.Sun B2B Operations
Sun Microsystems x24727
http://sun.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com