[rt-users] Adding an entire group as ticket Cc

2006-12-29 Thread Tim Wilson
Hi all,

Is it supposed to be possible to add an entire group as Ccs to a ticket? It 
would seem to be from the Web interface when I look at the screen to modify 
people.

When I enter a name in the Find groups whose... dialog it doesn't find 
anything and I get what appears to be an interface bug. I've posted a 
screenshot here:

http://technosavvy.org/wp-content/uploads/RT_modify_people.jpg

Any thoughts? This is RT 3.6.3 running on Linux with apache-ssl and mod_perl.

-Tim


-- 
Tim Wilson, Director of Technology
Buffalo-Hanover-Montrose Schools
214 1st Ave NE   Buffalo, MN  55313
ph: 763.682.8740  fax: 763.682.8743  http://www.buffalo.k12.mn.us





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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] URL / link for tickets incorrect

2006-12-29 Thread Brendon Baumgartner
I'm in the process of upgrading from 3.4.4 to 3.6.1.

I copied the database to a new server and updated the schema. I also
installed RT 3.6.1.

The problem I'm experiencing is that upon accessing the Web UI, I can see
the existing tickets but the links to tickets under 10 highest priority
tickets I own have an extra /rt in the URL.

Links listed for tickets under 10 newest unowned tickets are fine though.

I looked all over by config and cleared the mason cache, nothing has helped.
Any clues?
-Brendon


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Can I add a link to a ticket via a URL?

2006-12-29 Thread Daniel Iseminger
Hello,

I don't have access to command-line RT, but I have somehow figured out
some shortcuts via the URL, such as

Changing a ticket's status, e.g.
http://rt/Ticket/Modify.html?Status=deletedid=12345

Changing the owner, e.g.
http://rt/Ticket/ModifyPeople.html?Owner=Nobodyid=54321

Or evening deleting a link, e.g.
http://rt/Ticket/ModifyLinks.html?DeleteLink--RefersTo-12345id=54321

I haven't found any documentation for this at all.  What I'd really like
to do is add a new link to RefersTo or DependsOn in a similar way.  If
this is possible, can anyone tell me the syntax?

Thanks,

Dan


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Multiple instances of RT

2006-12-29 Thread Shen, Tyler
Does anyone know how I can run multiple instances of RT at a time? For
some reason, I can only run one instance of RT or another, but never
both. There seemed to be some conflicts when apache were loading two 
rt3/bin/webmux.pl. Any suggestion is appreciated.



Shen, Tyler
Extranet Service Delivery Team
Scouts Australia Victorian Branch



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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Multiple instances of RT

2006-12-29 Thread Jesse Vincent



On Sat, Dec 30, 2006 at 03:34:40PM +1100, Shen, Tyler wrote:
 Does anyone know how I can run multiple instances of RT at a time? For
 some reason, I can only run one instance of RT or another, but never
 both. There seemed to be some conflicts when apache were loading two 
 rt3/bin/webmux.pl. Any suggestion is appreciated.


Switching from mod_perl to FastCGI will sort you out there. 
 
 Shen, Tyler
 Extranet Service Delivery Team
 Scouts Australia Victorian Branch
 
 
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: [EMAIL PROTECTED]
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
 

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Shredder API questions

2006-12-29 Thread Mathew Snyder
I'm rewriting a script that will eliminate all spam users accrued over the
course of a day.  Presently, it is using the least efficient way of executing
the wipeout by performing a system call to rtx-shredder.  I would prefer to run
the wipeout by way of the Shredder API.  I'm guessing along the lines of this:

# load plugin by preformatted string
my $pluginString = 'Users=status,any;email,$email;replace_relations,Nobody';
my $plugin = new RTx::Shredder::Plugin;
my( $status, $msg ) = $plugin-LoadByString( $pluginString );
unless( $status ) {
print STDERR Couldn’t load plugin: $msg\n;
exit(1);
}
}

Another question is in regards to the sql dump.  I've looked at rtx-shredder and
have seen referrence to the SetFile method but haven't seen anything about the
DumpSQl method that is mentioned in Shredder.pm.  Is this automatically
accounted for when if I use my ($fname, $fh) = $shredder-SetFile;?

The portion of my script this relates to is below.

snip
foreach my $email (sort(@emails)){
print $email . \n;
}

print \nDelete the email addresses from the RT database [y/N]: ;
chomp($ans = STDIN);

if ($ans =~ m/^(y|yes)$/i){
my $email;
foreach $email (@emails){
#   system /usr/local/rt-3.6.1/local/sbin/rtx-shredder --force --plugin \
'Users=status,any;email,$email;replace_relations,Nobody';
# load plugin by preformatted string
my $pluginString = \
'Users=status,any;email,$email;replace_relations,Nobody';
my $plugin = new RTx::Shredder::Plugin;
my( $status, $msg ) = $plugin-LoadByString( $pluginString );
unless( $status ) {
print STDERR Couldn’t load plugin: $msg\n;
exit(1);
}
}
}
else{
exit;
}
/snip

One problem I can already see with the above snippet is that Shredder is called
seperately for each email address.  How do I set this up to run as one
continuous execution for the entire array of addresses?

Any and all help will be greatly appreciated.

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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