RT - group transactions


#1

Hey RT gang,

I'm interested in catching transactions that occurs when the membership 

of a group changes. Purpose: I need my ticket owners to be able to
select from a list of group members as to whom they want to do the QA
test on a ticket. I don’t know how to make the group visable for that
selection in a ticket, so I created a CF that mirrors the group
membership. Best Practices dictates that any redundancy should be
controlled, SSSOOO when the group membership changes, I want to modify
the CF. I figured if I could capture the group transaction, I could see
what it is doing and duplicate it in the CF. Has anyone done anything
like this? Does anyone know how to grab a group transaction? Thanks.

Kenn
LBNL


#2

RT doesn’t have scrips for anything but tickets. You could use Hook::Lexwrap
to monitor the methods in Groups_Overlay.pm, but that isn’t going to give
you any ticket context, so then you would have to search for the affected
tickets.On Tue, Jun 17, 2008 at 11:50 AM, Kenneth Crocker KFCrocker@lbl.gov wrote:

Hey RT gang,

   I'm interested in catching transactions that occurs when the

membership
of a group changes. Purpose: I need my ticket owners to be able to
select from a list of group members as to whom they want to do the QA
test on a ticket. I don’t know how to make the group visable for that
selection in a ticket, so I created a CF that mirrors the group
membership. Best Practices dictates that any redundancy should be
controlled, SSSOOO when the group membership changes, I want to modify
the CF. I figured if I could capture the group transaction, I could see
what it is doing and duplicate it in the CF. Has anyone done anything
like this? Does anyone know how to grab a group transaction? Thanks.

Kenn
LBNL


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


#3

Todd,

Yes, I figured my code would all be new, I just wanted to know if RT 

had any way of distinguishing a transaction modifying a group as opposed
to a trans modifying a ticket. I can code the other stuff. Thanks.

Kenn
LBNLOn 6/17/2008 10:12 AM, Todd Chapman wrote:

RT doesn’t have scrips for anything but tickets. You could use
Hook::Lexwrap to monitor the methods in Groups_Overlay.pm, but that
isn’t going to give you any ticket context, so then you would have to
search for the affected tickets.

On Tue, Jun 17, 2008 at 11:50 AM, Kenneth Crocker <KFCrocker@lbl.gov mailto:KFCrocker@lbl.gov> wrote:

Hey RT gang,

       I'm interested in catching transactions that occurs when the
membership
of a group changes. Purpose: I need my ticket owners to be able to
select from a list of group members as to whom they want to do the QA
test on a ticket. I don't know how to make the group visable for that
selection in a ticket, so I created a CF that mirrors the group
membership. Best Practices dictates that any redundancy should be
controlled, SSSOOO when the group membership changes, I want to modify
the CF. I figured if I could capture the group transaction, I could see
what it is doing and duplicate it in the CF. Has anyone done anything
like this? Does anyone know how to grab a group transaction? Thanks.


Kenn
LBNL

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com
<mailto:sales@bestpractical.com>


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

#4

At 6/17/2008 11:50 AM, Kenneth Crocker wrote:

Hey RT gang,

    I'm interested in catching transactions that occurs when 

the membership
of a group changes. Purpose: I need my ticket owners to be able to
select from a list of group members as to whom they want to do the QA
test on a ticket. I don’t know how to make the group visable for that
selection in a ticket, so I created a CF that mirrors the group
membership. Best Practices dictates that any redundancy should be
controlled, SSSOOO when the group membership changes, I want to modify
the CF. I figured if I could capture the group transaction, I could see
what it is doing and duplicate it in the CF. Has anyone done anything
like this? Does anyone know how to grab a group transaction? Thanks.

Kenn
LBNL

If you can live with a delay in updating the CF values, you could set
up a cron job to periodically refresh the CF value list with the
group membership…

Steve


#5

Stephen,

That's a thought. I may have to create some jobs down the line, so that 

would be another way. Thanks.

KennOn 6/17/2008 10:52 AM, Stephen Turner wrote:

At 6/17/2008 11:50 AM, Kenneth Crocker wrote:

Hey RT gang,

    I'm interested in catching transactions that occurs when the 

membership
of a group changes. Purpose: I need my ticket owners to be able to
select from a list of group members as to whom they want to do the QA
test on a ticket. I don’t know how to make the group visable for that
selection in a ticket, so I created a CF that mirrors the group
membership. Best Practices dictates that any redundancy should be
controlled, SSSOOO when the group membership changes, I want to modify
the CF. I figured if I could capture the group transaction, I could see
what it is doing and duplicate it in the CF. Has anyone done anything
like this? Does anyone know how to grab a group transaction? Thanks.

Kenn
LBNL

If you can live with a delay in updating the CF values, you could set up
a cron job to periodically refresh the CF value list with the group
membership…

Steve