Subject: | Ticket Custom Fields |
Date: | Fri, 15 Mar 2013 14:16:51 -0400 |
To: | <bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org> |
From: | <Chris.Wolfrom [...] salemfive.com> |
Hello,
I was attempting to make a ticket custom field mandatory when the ticket is resolved and ran into this issue. With the configuration that follows, the "TimeWorked" field is made mandatory, but the "CF.MyField" custom field is not.
Set( %MandatoryOnTransition,
Helpdesk => {
'* -> resolved' => ['TimeWorked', 'CF.MyField'],
},
);
Since the custom field was a ticket custom field I tried changing the prefix from "CF" to "TicketCF". This resulted in making all of the ticket custom fields mandatory instead of just the one I specified.
Set( %MandatoryOnTransition,
Helpdesk => {
'* -> resolved' => ['TimeWorked', 'TicketCF.MyField'],
},
);
I may be doing something incorrectly, but thought I would report it anyway. All-in-all still a good extension as it was the "TimeWorked" field I was after in the first place.
Regards,
Chris Wolfrom
Enterprise Solutions Architect
Salem Five Bank
(e) chris.wolfrom@salemfive.com<mailto:chris.wolfrom@salemfive.com>
(p) 978.720.5383
(f) 978.498.0312