I have several projects, call them "project-a", "project-b", "project-c", etc.
I also have a separate issue tracker for each project, i.e.
"http://path/to/tracker/project-a/issues/ "http://path/to/tracker/project-b/issues/ "http://path/to/tracker/project-c/issues/ etc.
If I want to set up commentlinks that link to the correct tracker, I have to set it individually in each project's project.config file:
[commentlink "tracker"]
match = "([Bb]ug|[Ii]ssue)\\s*#?(\\d+)"
link = http://path/to/tracker/project-a/issues/$2
[commentlink "tracker"]
match = "([Bb]ug|[Ii]ssue)\\s*#?(\\d+)"
link = http://path/to/tracker/project-b/issues/$2
[commentlink "tracker"]
match = "([Bb]ug|[Ii]ssue)\\s*#?(\\d+)"
link = http://path/to/tracker/project-c/issues/$2
etc.
Instead, I want to be able to set it once on the parent project and have it inherited by all the child projects, for example something like:
[commentlink "tracker"]
match = "([Bb]ug|[Ii]ssue)\\s*#?(\\d+)"
link = http://path/to/tracker/$PROJECT/issues/$2