[rt-users] Scrip help needed

2009-09-24 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi, i'm trying to write a scrip which does the following: We have two or more tickets, each ticket has a refersto to another like this: #1 - refers to #2 Now, if someone at ticket #2 writes an update, this update (reply in our case) should be posted also to ticket #1 Till this point it is

Re: [rt-users] Scrip help needed

2009-09-24 Thread Raed El-Hames
Hi Torsten; Try $related-BaseObj-Comment( Creator = $self-TransactionObj-Creator, Content = $self-loc( Information added by [_1]., # loc $self-TransactionObj-CreatorObj-Name, ) . \n . $self-loc( Notes: [_1], # loc $note ), ); Note the Creator line I

Re: [rt-users] Scrip help needed

2009-09-24 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Roy, no success, still: RT_System - Comments added :-( Thanks Torsten Kuehne + Nagel (AG Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.),

Re: [rt-users] Make non-staff users able to see all tickets (and not only theirs)

2009-09-24 Thread Rui Vitor Figueiras Meireles
Ok. I was able to do what I wanted (make non-staff users able to see all tickets). Here's what I did (Version RT 3.6.HEAD): 1 - First, I gave rights SeeQueue and ShowTicket to Everyone. 2 - Then I created a new file OtherRequests cd ./rt3/html/SelfService/Elements/ cp MyRequests OtherRequests

Re: [rt-users] Make non-staff users able to see all tickets (and not only theirs)

2009-09-24 Thread Raed El-Hames
But does n't this allow everyone to see every ticket?? Are you sure you want to do that? does n't your customers mind that their issues are visible to other customers?? is that legal (data protection etc)? Or have I missed something? Roy Rui Vitor Figueiras Meireles wrote: Ok. I was able to

[rt-users] Setting Time Worked as Mandatory Field

2009-09-24 Thread Dave Wells
Hi Guys, I know this has been brought up a couple of times on the lists, but can't find anything that seems to work for me. What I am looking for is a way to stop tickets being resolved if there is no time worked set. I have seen a post where Richard Ellis stated that adding this to your

Re: [rt-users] Setting Time Worked as Mandatory Field

2009-09-24 Thread Emmanuel Lacour
On Thu, Sep 24, 2009 at 02:00:20PM +0100, Dave Wells wrote: Hi Guys, I know this has been brought up a couple of times on the lists, but can't find anything that seems to work for me. When I add this file and insert the above text by itself, when I try and update a ticket it mearly prints

Re: [rt-users] Scrip help needed

2009-09-24 Thread Ruslan Zakirov
Torsten, Scrips work under system user, but you have to reload ticket as creator of the transaction. Something like: ... my $reply_will_be_on = RT::Ticket-new( $txn-CreatorObj ); $reply_will_be_on-Load( $ticket_you_found_as_system_user-id ); $reply_will_be_on-Comment(...); ... On Thu, Sep 24,

Re: [rt-users] Scrip help needed

2009-09-24 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Raed, sorry for the typo in your name Raed ne Roy ;-) Torsten -Ursprüngliche Nachricht- Von: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Im Auftrag von Brumm,Torsten / Kuehne + Nagel / Ham MI-ID Gesendet: Donnerstag, 24. September

Re: [rt-users] Scrip help needed

2009-09-24 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Ruslan, thanks for the hint. tried it with this piece of code: my $Clone = $self-TicketObj; my $note; my $t = $self-TicketObj-Transactions; $t-Limit( FIELD = 'Type', VALUE = 'Correspond' ); $t-OrderByCols ( { FIELD = 'Created', ORDER = 'DESC' },

Re: [rt-users] RT - Trac integration

2009-09-24 Thread Mathieu Longtin
Create a custom field, then setup the link values to field to point to Trac's ticket. You can put an arbitrary URL in there that includes the value of your custom field, your CF, in your case. From: Lander, Scott slan...@hearstsc.com All, I have a need to link together RT tickets and

Re: [rt-users] Scrip help needed

2009-09-24 Thread Ruslan Zakirov
$self-TransactionObj-Creator returns id not a user object, when you need object. On Thu, Sep 24, 2009 at 5:52 PM, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID torsten.br...@kuehne-nagel.com wrote: Hi Ruslan, thanks for the hint. tried it with this piece of code: my $Clone = $self-TicketObj;

Re: [rt-users] Scrip help needed

2009-09-24 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Ruslan, Raed, thanks for your support, it is working well now. Attached again the correct working scrip action, if someone else has a need for this: my $Clone = $self-TicketObj; my $note; my $t = $self-TicketObj-Transactions; $t-Limit( FIELD = 'Type', VALUE = 'Correspond' );

Re: [rt-users] Make non-staff users able to see all tickets (and not only theirs)

2009-09-24 Thread Rui Vitor Figueiras Meireles
That's exactly what I want to do. This will be a small internal web portal, which we will use to answer questions and requests from other co-workers. If all tickets are visible, we will save the trouble of answering some questions more than once (users can read the previous answers). Thanks.

Re: [rt-users] Scrip help needed

2009-09-24 Thread Emmanuel Lacour
On Thu, Sep 24, 2009 at 04:48:19PM +0200, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: Hi Ruslan, Raed, thanks for your support, it is working well now. Attached again the correct working scrip action, if someone else has a need for this: my $Actor =

Re: [rt-users] Scrip help needed

2009-09-24 Thread torsten.brumm
Hi Emmanuel, will try it out tomorrow: done for today ;-) Thanks for the hint. Torsten 2009/9/24 Emmanuel Lacour elac...@easter-eggs.com On Thu, Sep 24, 2009 at 04:48:19PM +0200, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: Hi Ruslan, Raed, thanks for your support, it is working

[rt-users] How to change default HomepageSettings

2009-09-24 Thread Rui Vitor Figueiras Meireles
I want to include 'My Admin Queues' in default HomepageSettings, so that when I create a user this option is already active. Addind the marked line in /etc/rt3/initialdata does not help, since this file is no longer read (I guess). { Name = 'HomepageSettings', Description =

Re: [rt-users] Problem RTIR Installation -- CPAN's GnuPG::Interface tests failing

2009-09-24 Thread Jesse Vincent
On Wed 23.Sep'09 at 18:33:13 -0700, Behzad Mahini wrote: Ok, I made the umask to be strict on the entire 'test' directory (recursively), and ran the make test, and then prove -lbv You most certainly want -bv and not -lbv. failing_cases and some of the warnings/errors went away.

[rt-users] One user, multiple email addresses

2009-09-24 Thread Johnathan Bell
Here's the situation; in our organization, one staff member can have several email aliases--these make the email address prettier and easier to say/remember. However, this creates a problem with some of our users, in that when they reply to tickets from the wrong email address, RT hasn't a

[rt-users] Login password save

2009-09-24 Thread Curtis Bruneau
Has anyone ever come across an extension or made a login password saver using cookies? I'm just wondering I had a few users ask about saving their login password. Curtis ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community

Re: [rt-users] Login password save

2009-09-24 Thread Jerrad Pierce
Has anyone ever come across an extension or made a login password saver using cookies? I'm just wondering I had a few users ask about saving their login password. Evil bad awful idea. If they simply want to stay logged in for a long time between authentications, why not extend your session

Re: [rt-users] Login password save

2009-09-24 Thread Tom Lahti
Has anyone ever come across an extension or made a login password saver using cookies? I'm just wondering I had a few users ask about saving their login password. Evil bad awful idea. ... because anyone with physical access to their computer can create RT transactions as the user with the

Re: [rt-users] Login password save

2009-09-24 Thread Jerrad Pierce
On Thu, Sep 24, 2009 at 15:34, Tom Lahti t...@bitstatement.net wrote: Has anyone ever come across an extension or made a login password saver using cookies? I'm just wondering I had a few users ask about saving their login password. Evil bad awful idea. ... because anyone with physical

Re: [rt-users] Login password save

2009-09-24 Thread Tom Lahti
I was thinking more that it generally ends up storing the password in the clear, and is constantly sending that information back to the server. That too. Besides, browsers have built-in facilities for remembering passwords if that's your bag; and in FF they can all be encrypted with a

[rt-users] root in the owner dropdown list

2009-09-24 Thread Sul, Young L
Hi, I have noticed that a potential owner of a ticket in our installation of RT can be root (at least it appears in the dropdown). Is this something I can disable? But would ungranting rights to the root user break RT? -y ___

[rt-users] Owner dropdown list looks funny after upgrade

2009-09-24 Thread Sul, Young L
Hi, We just upgraded to 3.8.5 from 3.4.x the other day. I've noticed that the owner dropdown list is populated with some names of people who no longer work for my department - they aren't listed in the Privileged Users section. What table should I be looking at to safely cleanup the dropdown

[rt-users] Fwd: Problem RTIR Installation -- CPAN's GnuPG::Interface tests failing

2009-09-24 Thread Behzad Mahini
Copying the rt-users list. -Behzad Begin forwarded message: From: Behzad Mahini mah...@apple.com Date: September 24, 2009 11:59:49 AM PDT To: Jesse Vincent je...@bestpractical.com Cc: Jesse Vincent je...@bestpractical.com, Ruslan Zakirov ruslan.zaki...@gmail.com Subject: Re: [rt-users]

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-24 Thread Mike Johnson
I was looking through the list's history. The original email did not get an answer to it. The piece that interests me about this listserv topic(dating back to Aug 2007) Sean, and myself are trying to set a ticket's owner to nobody on an action... He stated, I've tried:

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-24 Thread Kevin Falcone
On Thu, Sep 24, 2009 at 04:02:10PM -0400, Mike Johnson wrote: I was looking through the list's history. The original email did not get an answer to it. The piece that interests me about this listserv topic(dating back to Aug 2007) Sean, and myself are trying to set a

Re: [rt-users] root in the owner dropdown list

2009-09-24 Thread Kevin Falcone
On Thu, Sep 24, 2009 at 04:11:47PM -0400, Sul, Young L wrote: I have noticed that a potential owner of a ticket in our installation of RT can be root (at least it appears in the dropdown). Is this something I can disable? But would ungranting rights to the root user break RT? On

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-24 Thread Ken Crocker
Mike, We use this for when a ticket is moved to another Queue: # set new Ticket Owner value my $ticket = $self-TicketObj; $ticket-SetStatus(new); $ticket-SetOwner(10, 'Force'); return 1; The above code is put into the cleanup code. Hope this helps Kenn LBNL On 9/24/2009 1:02 PM, Mike

Re: [rt-users] One user, multiple email addresses

2009-09-24 Thread Jesse Vincent
On Thu, Sep 24, 2009 at 02:28:28PM -0400, Johnathan Bell wrote: Here's the situation; in our organization, one staff member can have several email aliases--these make the email address prettier and easier to say/remember. However, this creates a problem with some of our users, in that

Re: [rt-users] RT - Trac integration

2009-09-24 Thread Jesse Vincent
On Wed, Sep 23, 2009 at 11:44:25PM -0400, Lander, Scott wrote: All, I have a need to link together RT tickets and Trac tickets. Essentially, we do our change control within Trac. So, in RT, I have a CF Change Control, which, if set, I would like to have it link to the Trac

Re: [rt-users] RT - Trac integration

2009-09-24 Thread Lander, Scott
Jesse, We are still working on exactly what we want as far as syncing, or, if that is even what we want to do. We would much prefer to keep it all within RT, but, right now, I can't see a good way to do it. There is too much free form information that RT doesn't seem well adapted to

Re: [rt-users] RT - Trac integration

2009-09-24 Thread Jerrad Pierce
    As an example, when handling a change control, we have to document the servers (want a linked asset), the software, Maybe http://code.google.com/p/asset-tracker-4rt/? the person handling the change, the time and date of the change, the change description,  the change procedure (usually an

[rt-users] contrib HTML email reminder based on LastUpdated and status

2009-09-24 Thread Allen
Hello all, I just contributed another reminder type script on the wiki: http://wiki.bestpractical.com/view/rtUnifiedreminder It is different from the other reminder scripts currently up there in that the others all rely on either StartDate, DueDate or Priority in order to work, and not all

[rt-users] Notify admincc on ticket creation only?

2009-09-24 Thread Jerrad Pierce
Hi all, We have some adminccs who aren't really clued into the process, but need to be notified when a ticket is initially created. Any ideas how to best handle this? I don't see anything [io]n the archives/wiki. I know I could just add them as bcc's to the template, but this seems kind of

Re: [rt-users] Notify admincc on ticket creation only?

2009-09-24 Thread Jerrad Pierce
Make that one (un-answered) list archive entry: http://www.gossamer-threads.com/lists/rt/users/12481?search_string=admincc%20once;#12481 And one thread related to a possible alternative of overriding the global On Correspond Notify Owner and AdminCc

Re: [rt-users] Notify admincc on ticket creation only?

2009-09-24 Thread Jerrad Pierce
For anyone interested, here's what I have so far, and it seems to work: OnCreate, User Defined Action... my $org = RT-Config-Get('Organization') foreach my $address ( grep {$_ !~ /\...@\q$org\e/} $self-TicketObj-QueueObj-AdminCc-MemberEmailAddresses ){ $self-TicketObj-SquelchMailTo($address); }

Re: [rt-users] Notify admincc on ticket creation only?

2009-09-24 Thread Kevin Falcone
On Thu, Sep 24, 2009 at 07:06:12PM -0400, Jerrad Pierce wrote: For anyone interested, here's what I have so far, and it seems to work: OnCreate, User Defined Action... my $org = RT-Config-Get('Organization') foreach my $address ( grep {$_ !~ /\...@\q$org\e/}

[rt-users] Attachments; a different MIME type?

2009-09-24 Thread Eric Horne
Hmm, lemme try this a third time.. I would really appreciate some help. Basically, images and PDFs that are attached to requests or added as attachments later through the web interface are stored and retrieved without any issues. Any other type: zip files, office documents, etc, get stored in the

[rt-users] ModifySelf Privilege Prevents Login

2009-09-24 Thread Behzad Mahini
Using 'root' I granted ModifySelf to another userName, and now I can no longer login using root, neither the other user could login. The error message that I get is: Error Your username or password is incorrect Thanks, Behzad ___

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-24 Thread Behzad Mahini
I also updated the password for User 'root' at the MySQL level, and still I can't log back in using the new password for 'root'. -Behzad On Sep 24, 2009, at 4:56 PM, Behzad Mahini wrote: Using 'root' I granted ModifySelf to another userName, and now I can no longer login using root, neither

Re: [rt-users] RT with forms and workflow?

2009-09-24 Thread Lorens Kockum
On Wed, Sep 23, 2009 at 05:19:51AM +0900, Jesse Vincent wrote: Sorry if haven't been keeping up with the technology, but to me RT didn't support forms, in the sense custom fields mixed with text and laid out on a page. Has that changed? Searching for form on

Re: [rt-users] How to change default HomepageSettings

2009-09-24 Thread Emmanuel Lacour
On Thu, Sep 24, 2009 at 06:53:21PM +0100, Rui Vitor Figueiras Meireles wrote: I want to include 'My Admin Queues' in default HomepageSettings, so that when I create a user this option is already active. Addind the marked line in /etc/rt3/initialdata does not help, since this file is no

Re: [rt-users] Attachments; a different MIME type?

2009-09-24 Thread Emmanuel Lacour
On Thu, Sep 24, 2009 at 04:48:56PM -0700, Eric Horne wrote: Hmm, lemme try this a third time.. I would really appreciate some help. Can you tell us which is your browser name/version and also send a sample file that trigger this problem? ___