[rt-users] Prevent change of CustomField per Queue

Todd Chapman todd at chaka.net
Wed Sep 7 14:06:53 EDT 2005


On Wed, Sep 07, 2005 at 04:51:47PM +0200, Andreas Putzo wrote:
> Hello,
> 
> is there a way to prevent users from changing a CustomField depending
> on the queue?
> I have a CF, which should be editable in queue A.
> During the process, the ticket changes its queue to queue B. 
> There, the CF should only be visible, but NOT editable.
> 
> I tried to realize this with some scrips. My best result yet was 
> a scrip-loop, changing the CF value over and over :p
> 
> My current ideas: 
> - temporary changing the user rights
> - somehow interrupt the transaction
> - changing the CF back to its old value
> 

Does the user need to edit the ticket when it is in queue B?
If not, then there should be no problem.

If so, the easiest way might be to create two custom fields with
the same name, and apply one to queue A (read/write) and the
other to queue B (read only). Then write a queue change scrip
that copies the value from one CF to another when the queue
changes.

-Todd



More information about the rt-users mailing list