Re: [rt-users] Spawn multiple child tickets

2010-06-10 Thread Jonathan Rummel
Kenn, You are awesome! It worked! TransactionBatch was the key. Thanks a million! Jonathan Kenneth Crocker wrote: > > Jonathan, > > Try something like this: > > Condition: User Defined > Action: Create Tickets > Template: Create Child Ticket > Stage: TransactionBatch > > > Custom Condi

Re: [rt-users] Spawn multiple child tickets

2010-06-09 Thread Kenneth Crocker
Jonathan, Try something like this: Condition: User Defined Action: Create Tickets Template: Create Child Ticket Stage: TransactionBatch Custom Condition: my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; if ($trans->Type eq 'CustomField') {my $cf = new RT::CustomField($RT

Re: [rt-users] Spawn multiple child tickets

2010-06-09 Thread Jonathan Rummel
That's correct, Kenn. If they select 3 values, I want 3 child tickets and so on. However, that's my main problem. I've done what you're suggesting (by using the code I provided, with one scrip for each state), and it only creates a child ticket for the first option selected. Any ideas? Jonath

Re: [rt-users] Spawn multiple child tickets

2010-06-09 Thread Kenneth Crocker
Jonathan, If I understand this right, you want to create a child ticket for every value the user selects in the Custom Field. If they choose Florida and Maine, then you want two child tickets. If they select Florida, you want one. What if they select 3 or 4 values? If this is the case, I would cre

Re: [rt-users] Spawn multiple child tickets

2010-06-09 Thread Jonathan Rummel
Thanks, Kevin. I'm pretty much doing this on a novice level, and could use a little more explaining if possible. Please see notes in caps and parenthesis below: Jonathan Your condition only checks if the first value is Florida and then again hardcodes the first value into the ticket creation.

Re: [rt-users] Spawn multiple child tickets

2010-06-03 Thread Kevin Falcone
On Wed, Jun 02, 2010 at 11:59:38AM -0700, Jonathan Rummel wrote: > > Thank you, Bill. I will definitely use that to try and get it to work. Jonathan Your condition only checks if the first value is Florida and then again hardcodes the first value into the ticket creation. Using FirstCustomFiel

Re: [rt-users] Spawn multiple child tickets

2010-06-02 Thread Jonathan Rummel
Thank you, Bill. I will definitely use that to try and get it to work. Kenn, The scrips I wrote look like this: Condition: User Defined Action: Create Tickets Template: Create Child Ticket Stage: TransactionCreate Custom condition: my $trans = $self->TransactionObj; my $ticket = $self->Ticke

Re: [rt-users] Spawn multiple child tickets

2010-06-02 Thread William Graboyes
Hi, There is a scrip for doing something close to this on the wiki ( http://wiki.bestpractical.com). Have a look there. Actually, I remembered it being named something that most wouldn't search for so here is the link: http://wiki.bestpractical.com/view/Workflow Thanks, Bill On Wed, Jun 2, 201

Re: [rt-users] Spawn multiple child tickets

2010-06-02 Thread Kenneth Crocker
Jonathan, To help, I'd need to see your scrips and know what version you're on. I haven't done a scrip to create children, but I think I can look at some others and help figure them out with you. Kenn LBNL On Wed, Jun 2, 2010 at 10:54 AM, Jonathan Rummel wrote: > > Thanks for the response, Ken

Re: [rt-users] Spawn multiple child tickets

2010-06-02 Thread Jonathan Rummel
Thanks for the response, Kenn. I definitely think I'm going to have to write a scrip, but that's where I'm kind of stumped. I wrote multiple scrips (one that creates a child ticket for Florida when it is selected, one for Pennsylvania when it is selected, etc.), and they work individually but wh

Re: [rt-users] Spawn multiple child tickets

2010-06-02 Thread Kenneth Crocker
Jonathan, The only thing I have seen is in the "Bulk Update" the ability to addlinks. But that entails tickets (parent/child) already existing and you want to link them. The only thing I can suggest is to create a scrip for this function. I believe there were a couple out there for something simil

[rt-users] Spawn multiple child tickets

2010-06-02 Thread Jonathan Rummel
Hi everyone, This is driving me crazy, so PLEASE, any help at all is greatly appreciated. Is there a way to have multiple child tickets created based on a Select Multiple custom field? Example: Someone selects "Florida" and "Pennsylvania" in the "State" custom field. I would like this to crea