Re: [rt-users] Import user rigths and tickets across systems

2011-05-19 Thread john s.


Hello Ruslan 


you said "importing a ticket is harder" but i can't imagine what i have to
do where i have to start with...

that i can import some tickets to the other machine   maybe i guess   it
has something to do with the database  but this just an assumption from
myself 


best regards john s. 

-- 
View this message in context: 
http://old.nabble.com/Import-user-rigths-and-tickets-across-systems-tp31653363p31661705.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



[rt-users] Attachments in Resolution email

2011-05-19 Thread Miroslav Horvath

Hello

I want to ask for help. We are running RT version 3.8.4 and we have problem,
that attachments are not sent out with "resolution" emails. They only work
when you make Reply from the ticket. 

But in more cases we need this option, that when some support agent is
closing ticket(RESOLVE), he needs to send with that email also some
attachment, and here it doesnt work. Is there any kind of hint or fix ? 

Q2: Is this needs added in version 4.0 ? 

BR, Miroslav
-- 
View this message in context: 
http://old.nabble.com/Attachments-in-Resolution-email-tp31661517p31661517.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Scrip condition, "On XxxxCustomFieldChanged"

2011-05-19 Thread Daniel Schwager
Hi Ruslan,

> my $cf_obj = $self->TicketObj->LoadCustomFieldByIdentifier("Summary");

works perfectly - thanks very much !!

best regards
Danny


Re: [rt-users] Scrip condition, "On XxxxCustomFieldChanged"

2011-05-19 Thread Ruslan Zakirov
Hi,

my $cf_obj = $self->TicketObj->LoadCustomFieldByIdentifier("Summary");

On Thu, May 19, 2011 at 11:36 PM, Daniel Schwager
 wrote:
> Hi,
>
> is there a change to get the custom field id by the CF name ?
>
>  my $fieldId =
> $self->TransactionObj->getCustomFieldIdByName("CF-Summary");
>
> I would like to replace the field number with the name
> to make the code more robust.
>
> --  
>
> ### Trigger if custom value changed
> return undef unless ( $self->TransactionObj->Type =~ /CustomField/i );
>
> # Field 29: "CF-Summary"
> # my $fieldId = $self->TransactionObj-> getCustomFieldIdByName
> ("CF-Summary");
> my $fieldId = 29;
> return undef unless ( $self->TransactionObj->Field == $fieldId );
>
> --  
>
> Kind regards
> Danny
>
>



-- 
Best regards, Ruslan.


[rt-users] Scrip condition, "On XxxxCustomFieldChanged"

2011-05-19 Thread Daniel Schwager
Hi,

is there a change to get the custom field id by the CF name ? 

  my $fieldId =
$self->TransactionObj->getCustomFieldIdByName("CF-Summary");

I would like to replace the field number with the name 
to make the code more robust.

--  

### Trigger if custom value changed 
return undef unless ( $self->TransactionObj->Type =~ /CustomField/i ); 

# Field 29: "CF-Summary" 
# my $fieldId = $self->TransactionObj-> getCustomFieldIdByName
("CF-Summary");
my $fieldId = 29;
return undef unless ( $self->TransactionObj->Field == $fieldId );

--  

Kind regards
Danny



Re: [rt-users] Difference between reply and comment

2011-05-19 Thread sharonb

The answer is indeed in the wiki.  Reply is the same as Correspondence that
goes to the  Requestor, maybe the  CC: on the ticket. Comments are generally
for internal staff and may be sent to the AdminCC.


-- 
View this message in context: 
http://old.nabble.com/Difference-between-reply-and-comment-tp31654519p31655703.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] Import user rigths and tickets across systems

2011-05-19 Thread Ruslan Zakirov
Hi,

Importing a user is easy, plenty of scripts on the wiki.

Importing a ticket is harder. Especially if you want to preserve
dates, manipulate notifications and do other things "import" implies.

On Thu, May 19, 2011 at 10:54 AM, john s.  wrote:
>
> Hello all,
>
> Is it possible to import a ticket or an user with rights across different
> systems?
>
> But the systems has identical Linux plattforms
>
>
> best regards john s.
> --
> View this message in context: 
> http://old.nabble.com/Import-user-rigths-and-tickets-across-systems-tp31653363p31653363.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>



-- 
Best regards, Ruslan.


Re: [rt-users] Please help - rt4 slow after upgrade

2011-05-19 Thread Chris Hall
Well, resolved the below a bit by adding to RT_SiteConfig.pm:

Set($WebSessionClass, "Apache::Session::File");

However, CPU usage still peaks out on apache2 processes, although it appears
to be not AS frequent.  Anybody have any other suggestions on areas to look
into?  Some are saying the slowdown seems to occur most frequently when
updating tickets.

On Wed, May 18, 2011 at 8:36 PM, Chris Hall  wrote:

> I actually saw something about that in a message to the mailing list, and
> already turned it off as well, as a precaution.   After searching around
> some and trying out some tests, it seems the delay happens after the GET
> request to the apache server, and watching the logs, nothing appears in the
> log until about 20 seconds after the request to say the user asked for it..
> so there's about 20 - 30 seconds of dead time from the GET to when the log
> shows a request was made.  On a forum recommendation, I enabled slow mysql
> logging and noticed several entries in the log.  Here is a sample:
>
> # User@Host: rt_user[rt_user] @ localhost []
> # Query_time: 3246  Lock_time: 0  Rows_sent: 1  Rows_examined: 0
> SELECT GET_LOCK('Apache-Session-8a63b00ecb1829c65682fc75db1c05be', 3600);
> # User@Host: rt_user[rt_user] @ localhost []
> # Query_time: 3204  Lock_time: 0  Rows_sent: 1  Rows_examined: 0
> SELECT GET_LOCK('Apache-Session-8a63b00ecb1829c65682fc75db1c05be', 3600);
> # User@Host: rt_user[rt_user] @ localhost []
> # Query_time: 2897  Lock_time: 0  Rows_sent: 1  Rows_examined: 0
> SELECT GET_LOCK('Apache-Session-8a63b00ecb1829c65682fc75db1c05be', 3600);
> # User@Host: rt_user[rt_user] @ localhost []
> # Query_time: 2885  Lock_time: 0  Rows_sent: 1  Rows_examined: 0
> SELECT GET_LOCK('Apache-Session-8a63b00ecb1829c65682fc75db1c05be', 3600);
> # Time: 110518 19:51:37
> # User@Host: rt_user[rt_user] @ localhost []
> # Query_time: 1660  Lock_time: 0  Rows_sent: 1  Rows_examined: 0
> SELECT GET_LOCK('Apache-Session-8a63b00ecb1829c65682fc75db1c05be', 3600);
> # Time: 110518 19:56:44
> # User@Host: rt_user[rt_user] @ localhost []
> # Query_time: 14  Lock_time: 0  Rows_sent: 1  Rows_examined: 0
> SELECT GET_LOCK('Apache-Session-29fd7421a2e8981d99740258bbb9aea3', 3600);
>
>
> Dunno if they are of any help, but to me, it seems to indicate several
> SELECT queries that are running long for... whatever reason.  Do these logs
> make sense to anybody?
>
> On Wed, May 18, 2011 at 6:33 PM, Jonah Hirsch  wrote:
>
>> I was having this issue, same exact versions and problems with apache2. I
>> turned off mod_deflate and that helped a bit, but I'm still getting some
>> slowdowns, just not as much as before.
>> ---
>>  Jonah Hirsch
>>
>>
>>
>> On Wed, May 18, 2011 at 11:31 AM, Chris Hall  wrote:
>>
>>> Not sure where to start here, but trying to diagnose why after an upgrade
>>> from 3.8.8 to 4.0.0 things have slowed down tremendously.  Doing even
>>> pedestrian tasks such as loading the home screen or opening the ticket
>>> search will about 30% of the time decide it wants to max out the cpu with
>>> the apache2 process for roughly 20 - 30 seconds.  Sometimes, loading things
>>> happens almost instantaneously.  Other times, there's this weird delay.  Not
>>> sure where to start looking, are there any known issues that I might need to
>>> be aware of?
>>
>>
>>
>


Re: [rt-users] Difference between reply and comment

2011-05-19 Thread john s.


thnx everybody

best regards john s.
-- 
View this message in context: 
http://old.nabble.com/Difference-between-reply-and-comment-tp31654519p31654901.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] RT 4 - install on Debian Squeeze

2011-05-19 Thread Odhiambo Washington
On Thu, May 19, 2011 at 00:10, Gilbert Rebeiro  wrote:

> Thanks Alex,
>
> That's what I would like to do, does anyone have a list of deps that are
> available under squeeze?
>
>
You can grab the RT4 source, run configure, then do:

make testdeps

That will tell you the modules you require.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
<>

Re: [rt-users] RT 4 - install on Debian Squeeze

2011-05-19 Thread Gilbert Rebeiro

Hi,



I installed these modules using apt-get - thought it might be useful for 
someone else:


libwww-perl
libtext-template-perl
libhtml-mason-perl
libnet-cidr-perl
libfcgi-perl
libjson-perl
libfcgi-procmanager-perl
libdbix-searchbuilder-perl
libemail-address-perl
libhtml-scrubber-perl
libtree-simple-perl
libuniversal-require-perl
libtime-modules-perl
liblog-dispatch-perl
libtext-wrapper-perl
liblocale-maketext-fuzzy-perl
liblocale-maketext-lexicon-perl
libregexp-common-perl
libfile-sharedir-perl
libmodule-versions-report-perl
libtext-password-pronounceable-perl
libtext-quoted-perl
libplack-perl
libcss-squish-perl
libmime-tools-perl
libgnupg-interface-perl
libterm-readkey-perl
libconvert-color-perl
libdata-ical-perl
libdevel-globaldestruction-perl
libhtml-rewriteattributes-perl
libmime-types-perl
libperlio-eol-perl
libipc-run3-perl
libapache-session-perl
libtext-wikiformat-perl
libdatetime-locale-perl
libdatetime-perl
libtemplate-plugin-xml-perl


Then I used make fix-deps but I still can't install Plack::Handler::Starlet

Any magic that I don't know about?

Thanks,
Gilbert

On 18/05/2011 5:34 PM, Alexander Finger wrote:

I ran testdeps and added as they popped up. Tedious but works.

On Wed, May 18, 2011 at 11:10 PM, Gilbert Rebeiro  wrote:

Thanks Alex,

That's what I would like to do, does anyone have a list of deps that are
available under squeeze?

Thanks,
Gilbert.

On 18/05/2011 5:08 PM, Alexander Finger wrote:

If you want to keep your install clean, try to install the necessary
modules using apt-get instead of using fixdeps.
rgds
Alex

On Wed, May 18, 2011 at 10:38 PM, Gilbert Rebeirowrote:

Hi,

Are there any instructions to install RT 4 on Debian Squeeze?

Thanks,

Gilbert.








Re: [rt-users] Difference between reply and comment

2011-05-19 Thread Garry Booth

On 19 May 2011, at 10:57, john s. wrote:



Hello everybody


One of my colleague ask me this

and i have to admit from myself ... i don't know


did anybody know where is the difference?


best regards john s.




Hi John

I believe comment doesn't send an email to the requestor whereas reply  
does


regards

Garry

--
Dr Garry Booth
IT Services
Loughborough University


Re: [rt-users] Difference between reply and comment

2011-05-19 Thread Gerard FENELON

The answer is in the wiki
Gerard

On 2011-05-19 11:57, john s. wrote:

Hello everybody

One of my colleague ask me this
and i have to admit from myself ... i don't know
did anybody know where is the difference?

best regards john s.




[rt-users] Difference between reply and comment

2011-05-19 Thread john s.

Hello everybody 


One of my colleague ask me this 

and i have to admit from myself ... i don't know 


did anybody know where is the difference?


best regards john s. 


-- 
View this message in context: 
http://old.nabble.com/Difference-between-reply-and-comment-tp31654519p31654519.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.