RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

Feature: Issue tracker links support for multiple templates #301

Open xmedeko opened 4 years ago

xmedeko commented 4 years ago

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.

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

PFight commented 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.

Zakhar-Petrov commented 3 years ago

@PFight in your case as alternative you can use YouTrack Linker Rocket.Chat app

tmartincpp commented 3 years ago

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).