linux
November 7, 2013, 6:53pm
1
Hello,
I am using RT 4.0.7 on debian 7 wheezy using the debian RT package.
I would like to use JSGantt and got a copy by git clone from here
This got set in my environment
export PERL5LIB=/usr/share/request-tracker4/lib
export RTHOME=/etc/request-tracker4
I followed the instructions in README (twice) and I think i set it up correctly:
root@node:/opt/install/rt/rt-extension-jsgantt/# perl Makefile.PL
Using RT configuration from /usr/share/request-tracker4/lib/RT.pm:
./etc => /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/etc
./html => /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/html
./lib => /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/lib
Writing Makefile for RT::Extension::JSGantt
Writing MYMETA.yml
root@node:/opt/install/rt/rt-extension-jsgantt/# make
Skip blib/lib/RT/Extension/JSGantt.pm (unchanged)
Manifying blib/man3/RT::Extension::JSGantt.3pm
root@node:/opt/install/rt/rt-extension-jsgantt/# make install
Appending installation info to /usr/local/share/request-tracker4/man/perllocal.pod
After restarting apache the webinterface at /Admin/Tools/Configuration.html shows this:
JSGanttOptions {
‘ShowDuration’ => 1,
‘DefaultDays’ => 7,
‘NullDatesColor’ => 333,
‘DefaultFormat’ => ‘day’,
‘ShowProgress’ => 1,
‘WorkingHoursPerDay’ => 8,
‘ShowOwner’ => 1
}
So I believe it should work.
But I can’t find any hint in the GUI how to use JSGantt or even see somthing about it.
I guess I have to have to have “Dates” set for my ticks like “Starts” and “Due” ?
And do a search with special “Display Columns” ?
Or JSGantt needs to be enabled for every queue ?
On what URL do I get something like this:
http://www.bestpractical.com/static/images/screenshots/rt-extensions/rt-extension-jsgantt.png
Thanks a lot
Lixus
darin
November 7, 2013, 7:38pm
2
There’s a Gantt Chart link on the Links block of the ticket. You also
didn’t say whether you added RT::Extension::JSGantt to the Plugins
section of RT_SiteConfig.pm
Later,
DarinOn Thu, Nov 7, 2013 at 1:53 PM, Lixus Zoran linux@muellers.ms wrote:
Hello,
I am using RT 4.0.7 on debian 7 wheezy using the debian RT package.
I would like to use JSGantt and got a copy by git clone from here
GitHub - bestpractical/rt-extension-jsgantt
This got set in my environment
export PERL5LIB=/usr/share/request-tracker4/lib
export RTHOME=/etc/request-tracker4
I followed the instructions in README (twice) and I think i set it up correctly:
root@node:/opt/install/rt/rt-extension-jsgantt/# perl Makefile.PL
Using RT configuration from /usr/share/request-tracker4/lib/RT.pm:
./etc => /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/etc
./html => /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/html
./lib => /usr/local/share/request-tracker4/plugins/RT-Extension-JSGantt/lib
Writing Makefile for RT::Extension::JSGantt
Writing MYMETA.yml
root@node:/opt/install/rt/rt-extension-jsgantt/# make
Skip blib/lib/RT/Extension/JSGantt.pm (unchanged)
Manifying blib/man3/RT::Extension::JSGantt.3pm
root@node:/opt/install/rt/rt-extension-jsgantt/# make install
Appending installation info to /usr/local/share/request-tracker4/man/perllocal.pod
After restarting apache the webinterface at /Admin/Tools/Configuration.html shows this:
JSGanttOptions {
‘ShowDuration’ => 1,
‘DefaultDays’ => 7,
‘NullDatesColor’ => 333,
‘DefaultFormat’ => ‘day’,
‘ShowProgress’ => 1,
‘WorkingHoursPerDay’ => 8,
‘ShowOwner’ => 1
}
So I believe it should work.
But I can’t find any hint in the GUI how to use JSGantt or even see somthing about it.
I guess I have to have to have “Dates” set for my ticks like “Starts” and “Due” ?
And do a search with special “Display Columns” ?
Or JSGantt needs to be enabled for every queue ?
On what URL do I get something like this:
http://www.bestpractical.com/static/images/screenshots/rt-extensions/rt-extension-jsgantt.png
Thanks a lot
Lixus
linux
November 8, 2013, 4:12pm
3
Hello Frank,
Thanks for your support!
when you open a ticket you have in the Display view a new Link Gantt Chart in the Links section.
An this is the point, i do not see this link.
See Attachment.
So I am wondering if if have to enable JSGant per queue or something.
I have
Set(@Plugins ,‘RT::Extension::JSGantt’);
in
/etc/request-tracker4/RT_SiteConfig.pm
And also Tool → Configuration → Tools → System Configuration
(http:/mycompany.tld/rt/Admin/Tools/Configuration.html) shows this:
JSGanttOptions {
‘ShowDuration’ => 1,
‘DefaultDays’ => 7,
‘NullDatesColor’ => 333,
‘DefaultFormat’ => ‘day’,
‘ShowProgress’ => 1,
‘WorkingHoursPerDay’ => 8,
‘ShowOwner’ => 1
}
so i believe it is enabled !
As far as I understand RT Extensions are using a kind of
“Overlay” which can extend the Html Pages, right ?
http://requesttra cker.wikia.com/wiki/CustomizingWithOverlays
Is it possible that his Overlay mechanism is not working and needs to be enabled first ?
I attached my RTSiteConfig.pm (anonymize it a bit)
Thanks
Lixus
RT_SiteConfig.pm (6.23 KB)
linux
November 9, 2013, 10:36am
4
Stupid me,
it’s working of course!
I assumed that Set(@Plugins , works in a setter/getter manner
and in addition the debain way to manage RT_SiteConfig.pm
is to have a conf.d style directory /etc/request-tracker4/RT_SiteConfig.d/
with several config snippets and I had this in one file:
Set(@Plugins,'RT::Extension::JSGantt');
and this in another:
Set(@Plugins, qw(RT::Extension::LDAPImport));
So "Set(@Plugins … " got overwritten.
The correct way is to have only one "Set(@Plugins … " like this:
Set(@Plugins , qw(
RT::Extension::LDAPImport
RT::Extension::JSGantt
));
Sorry for wasting your time.
So "Set(@Plugins … " got overwritten.
The correct way is to have only one "Set(@Plugins … " like this:
Set(@Plugins , qw(
RT::Extension::LDAPImport
RT::Extension::JSGantt
));
Sorry for wasting your time.
When you upgrade to 4.2 you’ll be able to use the new Plugin() command
to do what you want.
-kevin