[rt-users] chart problem

2015-10-27 Thread wajdi
Hii all,

I am a new user of request tracher 4.0.19. I installed it in ubuntu 14.04
and it work successfully but the problem is when I try to chart the search
result I obtain an icon( despite that I make in my RT_SiteConfig.pm :
set($DiasableGD, '0');).

Please help me

thanks 

 



Re: [rt-users] Ticket Links missing post upgrade/conversion to Oracle 4.2.11.

2015-10-27 Thread Hummer, Greg
New tickets links, created post upgrade/conversion, are displayed correctly. It 
is only the old ticket links are not displaying correctly.

Greg

-Original Message-
From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
Maik Nergert
Sent: Monday, October 26, 2015 4:05 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Ticket Links missing post upgrade/conversion to Oracle 
4.2.11.

What about new links after the upgrade? Are they displayed correctly?

Do 'select * from links where localbase=TICKETID'
and compare the base and target value of old TICKETIDs (before upgrade) 
and new Tickets. Both has to be fsck.com-rt://abc.com/ticket/...



Re: [rt-users] round-robin auto assignment?

2015-10-27 Thread Asif Iqbal
On Sat, Oct 24, 2015 at 12:44 AM, Asif Iqbal  wrote:

>
>
> On Fri, Oct 23, 2015 at 2:28 AM, Christian Loos 
> wrote:
>
>> Am 22.10.2015 um 22:21 schrieb Asif Iqbal:
>> > # get the user list from the file
>> > # this file has the list of users who will be assigned as owner in
>> > round-robin
>> > # you could have another logic external that could update this file to
>> > get the
>> > # generate the list of owners
>> > my $file = "/var/tmp/ownerlist";
>> >
>> > return 1 unless open(my $fh, '<', $file);
>> > my @owners = <$fh>;
>> > return 1 unless close $fh;
>>
>> I think a better solution for the owners list would be to create a group
>> in RT, assign the needed users to the group and then load the possible
>> owner from that group. With this, you can change the owners list from
>> the RT Webinterface.
>>
>> Script code would be something like this:
>>
>> my @owners;
>> my $users = RT::Users->new(RT->SystemUser);
>> $users->MemberOfGroup();
>> while( my $user = $users->Next ) {
>> push @owners, $user->Name;
>> }
>>
>>
> I agree, this is cleaner. Although, I picked the external file since I am
> looking
> for a way to update that with users who are not in vacation.
>
>
>

anyone added a logic to not auto assign the ticket if it is created during
holiday or weekends?

We are using Lifecycles to implement Due date based on business hours using
the SLA extension. But not sure how auto assign can take advantage of that.



>
>> Chris
>>
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
>


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: [rt-users] round-robin auto assignment?

2015-10-27 Thread Christian Loos
Am 27.10.2015 um 16:57 schrieb Asif Iqbal:
> anyone added a logic to not auto assign the ticket if it is created
> during holiday or weekends?
> 
> We are using Lifecycles to implement Due date based on business hours
> using the SLA extension. But not sure how auto assign can take advantage
> of that.

If you have rt-extension-sla installed, then you can create a
Business::Hours [1] object in a RT scrip with:
my $bh = RT::Extension::SLA->BusinessHours;

If you don't have holidays in your sla config
(RT::ServiceBusinessHours), then you can feed the $bh from above within
you scrip.
We use Date::Holidays::DE [2] for this, which have the german holidays,
ans is also available for other countries.

Then you can check if you are within business hours with:
if ($bh->first_after(time()) == time()) {
# within business hours
} else {
# not within business hours
}


Chris

[1] https://metacpan.org/pod/Business::Hours
[2] https://metacpan.org/pod/Date::Holidays::DE


Re: [rt-users] rt-users Digest, Vol 139, Issue 23

2015-10-27 Thread Shea Alterio
I have a very newbie question. For whatever reason, RT4 either doesn't see or 
can't talk to FastCGI on either a Debian or FreeBSD setup. I've re-set it up a 
few different times but must be missing some step of the process. I have 
resorted to directly running rt-server with Starman, but after a day or two of 
uptime the machine's RAM is all used up and the rt-server process is suck at 
consuming 100% of CPU power.

I've had it almost working with apache, nginx and lighttpd, but every time it 
doesn't think FastCGI is there!

Apologies if this is sent to the wrong list for this sort of thing. I know it's 
not really a Request Tracker issue that I can't get it to run on my web servers 
but I'm wondering if there's something about FastCGI setup I'm unaware of.

Re: [rt-users] rt-users Digest, Vol 139, Issue 23

2015-10-27 Thread Matt Zagrabelny
On Tue, Oct 27, 2015 at 11:06 AM, Shea Alterio  wrote:
> I have a very newbie question. For whatever reason, RT4 either doesn't see or 
> can't talk to FastCGI on either a Debian or FreeBSD setup. I've re-set it up 
> a few different times but must be missing some step of the process. I have 
> resorted to directly running rt-server with Starman, but after a day or two 
> of uptime the machine's RAM is all used up and the rt-server process is suck 
> at consuming 100% of CPU power.
>
> I've had it almost working with apache, nginx and lighttpd, but every time it 
> doesn't think FastCGI is there!
>
> Apologies if this is sent to the wrong list for this sort of thing. I know 
> it's not really a Request Tracker issue that I can't get it to run on my web 
> servers but I'm wondering if there's something about FastCGI setup I'm 
> unaware of.

We run 4.2.11 on Debian wheezy/jessie hybrid.

What does your apache configs look like?

What does your apache errors say?

Did you follow the instructions? (web_deployment.pod)

-m