Re: [rt-users] ticket depends on external URI

2011-05-09 Thread Kevin Falcone
On Fri, May 06, 2011 at 05:33:27PM +0200, Raphaël MOUNEYRES wrote:
Hi,
 
i have two RT 3.8.8 instances running on two different servers with ip 
 such as 10.20.130.10
and 10.20.130.11
 
the first RT has
Set($Organization, 'serverone.mydomain')
Set($WebBaseURL, 'http://serverone.mydomain')
the second RT has
 Set($Organization, servertwo.mydomain')
 Set($WebBaseURL, 'http://servertwo.mydomain')
 
when on the first instance i try to create a depenence toward a ticket on 
 the other instance
with the following address :
  fsck.com-rt://servertwo/ticket/51
it says
cannot convert  fsck.com-rt://servertwo/ticket/51 to a URI
 
what am i missing here ? is such a thing possible ?

ticket links are fsck.com-rt://$Organization/ticket/id 
and as you've discovered, RT will fail to parse links that don't match
the current Organization.

If you want to cross link tickets, you want to just be making normal
http links to an external ticket.

-kevin


pgpyHjgZPg8bu.pgp
Description: PGP signature


Re: [rt-users] ticket depends on external URI

2011-05-09 Thread Raphaël MOUNEYRES
Kevin, thank you for your answer, i have done linking with http links as 
you mention
it does work so i can click on the link and look at the ticket on the 
other server
but it does not display the ticket status compared to an internal link, so 
a depends on links doesn't really work

may it be possible to acheive this via normal http links ?

Raphaël




Kevin Falcone falc...@bestpractical.com 
Envoyé par : rt-users-boun...@lists.bestpractical.com
09/05/2011 16:22
Veuillez répondre à
rt-users@lists.bestpractical.com


A
rt-users@lists.bestpractical.com
cc

Objet
Re: [rt-users] ticket depends on external URI






On Fri, May 06, 2011 at 05:33:27PM +0200, Raphaël MOUNEYRES wrote:
Hi,
 
i have two RT 3.8.8 instances running on two different servers with 
ip such as 10.20.130.10
and 10.20.130.11
 
the first RT has
Set($Organization, 'serverone.mydomain')
Set($WebBaseURL, 'http://serverone.mydomain')
the second RT has
 Set($Organization, servertwo.mydomain')
 Set($WebBaseURL, 'http://servertwo.mydomain')
 
when on the first instance i try to create a depenence toward a 
ticket on the other instance
with the following address :
  fsck.com-rt://servertwo/ticket/51
it says
cannot convert  fsck.com-rt://servertwo/ticket/51 to a URI
 
what am i missing here ? is such a thing possible ?

ticket links are fsck.com-rt://$Organization/ticket/id 
and as you've discovered, RT will fail to parse links that don't match
the current Organization.

If you want to cross link tickets, you want to just be making normal
http links to an external ticket.

-kevin


#
 Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés.


   **

 This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system.
#



Re: [rt-users] ticket depends on external URI

2011-05-09 Thread Kevin Falcone
On Mon, May 09, 2011 at 05:33:55PM +0200, Raphaël MOUNEYRES wrote:
Kevin, thank you for your answer, i have done linking with http links as 
 you mention
it does work so i can click on the link and look at the ticket on the 
 other server
but it does not display the ticket status compared to an internal link, so 
 a depends on
links doesn't really work
may it be possible to acheive this via normal http links ?

RT would have to have an account on that foreign machine and be making
queries to do that.  This is not currently a feature of RT.

-kevin


pgp22MUPQUy89.pgp
Description: PGP signature