Page 1 of 1

Auto-linking (custom) fields

Posted: 20 Dec 2011, 10:01
by marcin
Hi,

I'm looking for ability to have custom fields where the values inserted would be automatically converted into links. We want this to link Mantis to other related places (wiki, external issue repository etc).

I see that Mantis already has "Regular Expression" for custom field validation. It would be sufficient for me to have e.g. "Display Regular Expression" which would contain one (or more?) regexp expressions, e.g.

Code: Select all

s|\b(\w+)\b|http://en.wikipedia.org/wiki/$1|
Ideally, the conversion would happen on display only (so one can still easily edit it). Perhaps also a different RE could be used in "View issues" and "View issue Details"...

Is anyone aware of the plugin with this functionality, or would it be perhaps a useful general-purpose addition to Mantis?

Thanks!

Re: Auto-linking (custom) fields

Posted: 20 Dec 2011, 13:22
by marcin
Just found it's almost the same as this request:
http://www.mantisbt.org/bugs/view.php?id=13180

So I'll comment there.