[rt-users] Resolve approvals
Autrijus Tang
autrijus at autrijus.org
Sat Sep 6 02:03:54 EDT 2003
在 ??, 2003-09-06 13:43, Miro Jurisic 寫道:
> I'd like to require approval before a ticket can be resolved.
> Ideally, the way this would work is that X tries to resolve a ticket,
> Y gets notified, Y approves, ticket is resolved without further input
> from X. However, it is not obvious to me how to do this, since when I
> add a CreateTicket action with an on Resolve trigger, the Resolve is
> completed in addition to the approval ticket being generated. What
> can I do?
You want to use the 'code' ticket feature to auto-resolve it.
First, set $RT::UseCodeTickets to a true value.
Next, set up an approval stage thus:
Type: code
Content:
$TOP->SetStatus(
Status => 'resolved',
Force => 1,
);
return 1;
ENDOFCONTENT
And it should magically work.
...alternatively, you can try the Workflow Editor in my rt-elixus branch
(http://p4.elixus.org/snap/p4.tar.gz), located in the "Workflow" panel
under /Edit/Queues/. :-)
Thanks,
/Autrijus/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: ?????????
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030906/bb4d1732/attachment.sig>
More information about the rt-users
mailing list