Auto-linking (custom) fields
Posted: 20 Dec 2011, 10:01
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.
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!
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|
Is anyone aware of the plugin with this functionality, or would it be perhaps a useful general-purpose addition to Mantis?
Thanks!