Open xmedeko opened 4 years ago
We use JetBrains YouTrack, that has issue custom numbers like WebC-1232, NP-3225. First two letters indicates project, where issue is located. We very ofter copy and paste issue numers to chats, and no one want to add # to number, to make it clickable. So, this feature is very desireable for us.
@PFight in your case as alternative you can use YouTrack Linker Rocket.Chat app
I know that this is not an ideal solution but to have multiple trackers links support in RC you can :
Then, on the webserver, you can redirect URLs to what you want (I'm using it for Mantis Bug Tracker for example).
Nginx example :
location /issue {
rewrite ^/issue/AAA-(\d+)$ https://MyFirstTrackerURL.com/view.php?id=$1 permanent;
rewrite ^/issue/BBB-(\d+)$ https://AnotherTrackerURL.com/view.php?id=$1 permanent;
}
And of course you can adapt URLs to your needs (MantisBT, YouTrack or almost anything else I guess).
Description:
Currently, the Issue tracker links feature supports just one template, just one issue tracker. Since our company works for multiple clients having their issue trackers, we would like to have general multiple templates e.g.
ABC#123
->https://tracker1/123
XY#456
->https://tracker2/456
Maybe some general regexp replace could do the job?
I know a workaround may be to set up a multiple Rocket.Chat servers, but I find it inconvenient.
Note: I think this functionality may be moved to an RC application.
Server Setup Information:
Client Setup Information