[rt-users] Removing ticket links

2014-09-10 Thread andriusk
Hello,

How can I remove the links ticket is parent of? I do not need to remove the
linked tickets but the link itself/
Is that possible?



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Removing-ticket-links-tp58484.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] How to add a group

2014-09-10 Thread Albert Shih
Hi everyone.

I want to add a group (defined inside RT) in a script ? 

I find something on the web who use de AddWatcher like something : 

  my $addGroupObj = RT::Group-new($RT::SystemUser);  
  $addGroupObj-LoadUserDefinedGroup('My Group');   
   
  return undef unless $addGroupObj;   
  my $addGroupMembersObj = $addGroupObj-UserMembersObj;
  
  
  my $userObj;
  while ($userObj = $addGroupMembersObj-Next) {  
   if (($ticket-IsRequestor($userObj-PrincipalId)) or 
($ticket-IsAdminCc($userObj-PrincipalId))) {
   $RT::Logger-debug(Add Group AdminCC: ' . $userObj-Name . ' is 
already a ticket watcher; not adding AdminCc on ticket \# . $ticket-id );
   } else {  
$RT::Logger-debug(On Create Add Group AdminCC: Adding ' . $userObj-Name 
.' to ticket \# .$ticket-id);   
my ($success, $msg)= $ticket-AddWatcher( 
Type = AdminCc,
PrincipalId = $userObj-PrincipalId);
if (! $success) {
$RT::Logger-info(On Create Add Group Addmin CC: couldn't add ' . 
$userObj-Name . ' to  . $ticket-id . ': got ' . $msg .');
} 
   }  
   }  
  return 1

but that's no very convenient, I like to add directly a group. 

Regards.

JAS


-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
mer 10 sep 2014 16:05:17 CEST
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] Reply-To - Friendly Display Name Missing

2014-09-10 Thread wrender
Hello,

I notice that the friendly display name seems to be missing from the mail
headers in reply-to: from email generated from RT.   For example if we send
a ticket out from RT the email headers show up like this on the receivers
end:

Reply-To: supp...@ourdomain.com
From: RT Staff Name supp...@ourdomain.com

This seems to cause Microsoft Outlook 2013 to not populate the user in the
Autocomplete email addresses it stores.  Ideally this would populate so the
people using Outlook could type the RT Staff name, and it would come up in
their Outlook.   Would it be possible to modify RT mail headers to something
like this?

Reply-To: RT Staff Name supp...@ourdomain.com
From: RT Staff Name supp...@ourdomain.com

Or also, if we would just disable the Reply-To mail header completely in RT,
and just use a From: at all times I believe this would also work.


Thanks!

Wes




--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Reply-To-Friendly-Display-Name-Missing-tp58488.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


Re: [rt-users] Install Error in GnuPG::Interface

2014-09-10 Thread Rolf Krogstad
Thanks for your help, Alex. 
Per your suggestion I have submitted a bug notice.
 
Rolf Krogstad
Information Technology
Pace Analytical Services Inc.
Minneapolis, MN USA


 On 9/9/2014 at 7:27 PM, in message 
 cafdkmptv0epqv797khxddvotfuf_u6smmm+httlf0c0rod9...@mail.gmail.com, Alex 
 Peters a...@peters.net wrote:


The tests in encrypt_symmetrically.t are failing for you.
I would consider this a bug in the latest version of GnuPG::Interface.
While Alex Vandiver (responsible for the latest release of that distribution) 
is a contributor to this mailing list and may see this post, I'd recommend 
pasting your test output into a proper bug report here:
https://rt.cpan.org/Public/Dist/Display.html?Name=GnuPG-Interface
If GPG integration isn't strictly mandatory for your installation, re-running 
RT's configure script with the relevant option may permit you to proceed with 
installing RT. See its help for further info:
$ ./configure --helpOn 10/09/2014 5:38 am, Rolf Krogstad r...@pacelabs.com 
wrote:


Here is the results of the verbose test:
cpan[5] look GnuPG::Interface
Running look for module 'GnuPG::Interface'
Trying to open a subshell in the build directory...
Working directory is /root/.cpan/build/GnuPG-Interface-0.50-s33z4t
[root@localhost GnuPG-Interface-0.50-s33z4t]# make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(1, 
'inc', 'blib/lib', 'blib/arch') t/*.t
t/clearsign.t ..
1..2
ok 1
ok 2
ok
t/decrypt.t 
1..4
ok 1
ok 2
ok 3
ok 4
ok
t/detach_sign.t 
1..2
ok 1
ok 2
ok
t/encrypt.t 
1..3
ok 1
gpg: WARNING: unsafe ownership on homedir `test'
ok 2
ok 3
ok
t/encrypt_symmetrically.t ..
1..2
not ok 1
not ok 2
Failed 2/2 subtests
t/export_keys.t 
1..2
ok 1
ok 2
ok
t/Fingerprint.t 
1..2
ok 1
ok 2
ok
t/get_public_keys.t 
1..3
gpg: WARNING: unsafe ownership on homedir `test'
ok 1
ok 2
ok 3
ok
t/get_secret_keys.t 
1..2
gpg: WARNING: unsafe ownership on homedir `test'
ok 1
ok 2
ok
t/import_keys.t 
1..2
ok 1
ok 2
ok
t/Interface.t ..
1..2
ok 1
ok 2
ok
t/list_public_keys.t ...
1..3
ok 1
ok 2
ok 3
ok
t/list_secret_keys.t ...
1..4
ok 1
ok 2
ok 3
ok 4
ok
t/list_sigs.t ..
1..3
ok 1
ok 2
ok 3
ok
t/passphrase_handling.t 
1..3
ok 1
ok 2
gpg: WARNING: unsafe ownership on homedir `test'
ok 3
ok
t/sign.t ...
1..2
ok 1
ok 2
ok
t/sign_and_encrypt.t ...
1..2
ok 1
ok 2
ok
t/UserId.t .
1..2
ok 1
ok 2
ok
t/verify.t .
1..2
ok 1
ok 2
ok
t/wrap_call.t ..
1..4
ok 1
ok 2
ok 3
ok 4
ok
Test Summary Report
---
t/encrypt_symmetrically.t (Wstat: 0 Tests: 2 Failed: 2)
Failed tests: 1-2
Files=20, Tests=51, 15 wallclock secs ( 0.09 usr 0.02 sys + 4.23 cusr 0.59 csys 
= 4.93 CPU)
Result: FAIL
Failed 1/20 test programs. 2/51 subtests failed.
make: *** [test_dynamic] Error 255


 On 9/4/2014 at 6:58 PM, in message 
 CAFdkmptBsYTxp=w-T9EuJKe3ZSxy=klsbv5vy+8maftdmec...@mail.gmail.com ( 
 mailto:klsbv5vy%2b8maftdmec...@mail.gmail.com ), Alex Peters 
 a...@peters.net wrote:


The first command should have spawned a shell in 
/root/.cpan/build/GnuPG-Interface-0.50-7A5Mpd, the path shown near the end of 
the output of the first command. The second command should be run with that 
path as the working directory.
The references to RT in the output from the second command suggest that the 
make test command was run from the RT installation directory rather than the 
temporary directory created by the first command.On 05/09/2014 5:29 am, Rolf 
Krogstad r...@pacelabs.com wrote:


Thanks for your help.
Here are the results of the first command

cpan[1] look GnuPG::Interface
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 02 Sep 2014 08:29:02 GMT
Fetching with LWP:
http://cpan.msi.umn.edu/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
DONE
Fetching with LWP:
http://cpan.msi.umn.edu/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 04 Sep 2014 08:53:15 GMT
..
New CPAN.pm version (v2.05) available.
[Currently running version is v1.9800]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.

..DONE
Fetching with LWP:
http://cpan.msi.umn.edu/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running look for module 'GnuPG::Interface'
Trying to open a subshell in the build directory...
Checksum for 
/root/.cpan/sources/authors/id/A/AL/ALEXMV/GnuPG-Interface-0.50.tar.gz ok
Scanning cache /root/.cpan/build for sizes

Re: [rt-users] Suddenly format of forwarded mails from RT is changing

2014-09-10 Thread Ajay Kumar
Dear Kevin,


Thanks for response.

We have not done any change as per my team.


Is it bug? While responding ,it removes the html tags. Will upgrading to rt
4.2.6 resolve the problem.
Looking forward for your response pls.
Regards,
Ajay

On Fri, Aug 22, 2014 at 7:31 PM, Kevin Falcone falc...@bestpractical.com
wrote:

 On Tue, Aug 19, 2014 at 05:54:21PM +0530, Ajay Kumar wrote:
  We are using RT4.2.1. Suddenly,we are observing change in the RT
 behavior.

 What does 'suddenly' mean.
 What changes did you make.

 -kevin

  While sending mail via RT or forwarding mail via RT(sample mail
 appended). It
  is changing the format of text. So that users are complaining.
  May I have any help on this pls on correcting the format.
 
 
  Please provide an Address proof document. Single document cannot be
 considered
  for Proof of Existence and address proof. On Mon Aug 18 16:57:01 2014,
 [1]
  manmohan...@gmail.com wrote:  Ajay Ji,   Ticket number 2114 filed
 online. 
   Thank You,   Manmohan  On Mon, Aug 18, 2014 at 2:50 PM,
 Ajay via
  RT wrote:Dear Harpreet, Pls share XXX ticket number if filled
 on
  line. Regards,   Ajay On Sat Jul 26 09:31:21 2014,
 harpr...@xxx.com
  wrote:  Dear   All,   Kindly find attach the duly filled
 Affiliation
  Agreement   along with  all the documents stamped and signed.  
 Regards 

 --
 RT Training - Boston, September 9-10
 http://bestpractical.com/training


Please don't print this email unless you really need to. This will preserve
trees on our planet.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training