[rt-users] Communicate a message to web UI from inside Scrip?

Kenneth Crocker kfcrocker at lbl.gov
Fri Jan 7 15:08:47 EST 2011


Jeff,

That's why I have my scrip put "NOT SET CORRECTLY" in CAPS as a value in the
CF. The ticket display will show the CF and the CAPS will STAND OUT and make
it easier for the user to see what's up. The Email serves as a reminder to
set the CF. Therefore, the user gets reminded two different ways.

Kenn
LBNL

On Thu, Jan 6, 2011 at 1:57 PM, Christian Loos <cloos at netsandbox.de> wrote:

> How about put a comment with your script in the ticket.
> The Ticket history would then look like this:
> * Status change from open to resolve
> * Comment: ERROR: Cannot resolve without a value for BlahBlah.
> * Status change from resolved to open
>
> I think this would make it clear for the user why they can't resolve the
> ticket.
>
> -Chris
>
> Am 06.01.2011 19:10, schrieb Jeff Blaine:
> > As part of my current solution (ongoing) to the "Don't allow
> > resolve if a certain CF is not set" topic, I am resetting
> > the ticket status back to "open" when I see that someone
> > tried to resolve while the specific CF was not set.
> >
> > Unfortunately, even though my code set the status back to
> > "open", the "BriefMessage" on the transaction still says
> > that the status went from "open to resolved" ... yet the
> > ticket shows properly *as open still*.
> >
> > Is there a way to queue one of these notices to the user
> > from within my Scrip?
> >
> >     ERROR: Cannot resolve without a value for BlahBlah.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110107/1e76e3a8/attachment.htm>


More information about the rt-users mailing list