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.
Hyperlinks as 123:456
Moderators: Developer, Contributor
Re: Hyperlinks as 123:456
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
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
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
Seems I don't understand your last question, so let me just reply to the other ones.
It's ~456 for exampleStarbuck wrote:What's the syntax to create that elegant link?
NoStarbuck wrote:Are you guys using #123:~456?
NoStarbuck wrote:Are you copy/pasting the link associated with a note so that it renders as 123:456 ?
Re: Hyperlinks as 123:456
OK, I've found that if I use #123 ~456 with a space between them, Mantis changes the space to a colon to show 123:456 as a single link.
That's cool and I'm happy, just didn't know the trick.
Thanks!
That's cool and I'm happy, just didn't know the trick.
Thanks!
Re: Hyperlinks as 123:456
Correction+Update: Now I understand what @atrol meant by
I thought we needed to specify both #ticket and ~note, which of course is a bit redundant.
For my purposes, we use ticket:123 and note:456, because these are explicit and less ambiguous than # and ~. And we use the term "ticket" because not everything is a "bug" or an "issue" - the latter of which is a subtlety of the English language that may not apply to some others.
If we use just #number, we get a ticket reference. If we use just ~number, the link that is created is "ticket:note".It's ~456 for example
I thought we needed to specify both #ticket and ~note, which of course is a bit redundant.
For my purposes, we use ticket:123 and note:456, because these are explicit and less ambiguous than # and ~. And we use the term "ticket" because not everything is a "bug" or an "issue" - the latter of which is a subtlety of the English language that may not apply to some others.