Page 1 of 1

Hyperlinks as 123:456

PostPosted: Nov 30, 2017 5:43 pm
by Starbuck
I've seen references to issue:note in the mantisbt.org tracker. What's the syntax to create that elegant link?
Are you guys using #123:~456?
Are you copy/pasting the link associated with a note so that it renders as 123:456 ?

I'm just setting up a new environment and have changed the simple references to a more complex "ticket:123 note:456". This is to avoid conflicts with code, references to repo commits, and other technical syntax posted into the tracker.

Since we're here, has anyone considered using an array for the prefix? { 'ticket:', 'bug#', 'issue#', 'issue:' ... }

Thanks.

Re: Hyperlinks as 123:456

PostPosted: Dec 01, 2017 1:38 am
by atrol
The linking can be configured.
Check options $g_bug_link_tag and $g_bugnote_link_tag on https://www.mantisbt.org/docs/master/en ... onfig.misc

Re: Hyperlinks as 123:456

PostPosted: Dec 07, 2017 12:38 pm
by Starbuck
Respectfully, I demonstrated that I already know how to change linking. I asked specific questions that are not answered in the doc. Thanks.

Re: Hyperlinks as 123:456

PostPosted: Dec 07, 2017 3:09 pm
by atrol
Seems I don't understand your last question, so let me just reply to the other ones.

Starbuck wrote:What's the syntax to create that elegant link?
It's ~456 for example
Starbuck wrote:Are you guys using #123:~456?
No
Starbuck wrote:Are you copy/pasting the link associated with a note so that it renders as 123:456 ?
No