[rt-users] Bugzilla IDs href'd in a custom field?

Nathan Oyler noyler at khimetrics.com
Mon Dec 19 10:22:09 EST 2005


I use, the "refers to" field for bugzilla ID's. works well. Makes link.

> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-
> bounces at lists.bestpractical.com] On Behalf Of Stephen Turner
> Sent: Monday, December 19, 2005 8:05 AM
> To: Toby Darling; rt-users
> Subject: Re: [rt-users] Bugzilla IDs href'd in a custom field?
> 
> At Monday 12/19/2005 09:01 AM, Toby Darling wrote:
> >Hi
> >
> >I'm trying to make the bugzilla IDs we put in tickets more visible,
> >by putting them into a custom field. That in itself isn't a problem,
but
> >making clickable URLs out of them is proving more dificult.
> >
> >I've modified RT::ObjectCustomFieldValue->Content to turn a {4,6}
digit
> >number into:
> >    '<a href="...">xxxx</a>'
> >but something between that and the browser is turning it into
> >    '<a href"...'.
> >
> >Anyone any idea where the conversion is taking place, or how I could
> >protect it? Or has anyone done this sort of bugzilla integration in
> >another way? Could I use a callback to achieve this?
> >
> >(We're already using a variation of
> >http://wiki.bestpractical.com/index.cgi?ClickableLinks but additional
> >correspondence makes the links less visible)
> >
> >Cheers
> >Toby
> 
> Toby,
> 
> Probably not a good idea to mix HTML into the perl API. Any kind of
> interface (web, email, perl script etc.) should be able to use the API
and
> get sensible data. I'd recommend putting your code into the Mason
> component
> that displays the custom field.
> 
> Steve
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Download a free sample chapter of RT Essentials from O'Reilly Media at
> http://rtbook.bestpractical.com
> 
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at
> http://bestpractical.com/services/training.html



More information about the rt-users mailing list