MantisBT-Slack icon indicating copy to clipboard operation
MantisBT-Slack copied to clipboard

Allow mapping by id

Open infojunkie opened this issue 8 years ago • 3 comments

Right now, mapping projects to channels is done via project and channel names. However, these names can be modified without losing the identity of the underlying entities, causing the mapping to become invalid.

Suggest to allow mapping by either name or id, to make it a little more robust.

infojunkie avatar Feb 18 '16 17:02 infojunkie

Hello, I've added a way to map channels with bug handlers and with bug severity on my fork. I think it would be great to implement this to the plugin

AmauryBs avatar Jul 10 '19 08:07 AmauryBs

Thanks! Can you point to your code for review? Also, I'm out on vacation for 3 weeks so I'll be slow to respond.

infojunkie avatar Jul 10 '19 10:07 infojunkie

Here is my code: https://github.com/AmauryBs/MantisBT-Slack (I also made a pull request). I've changed mainly changed the get channel function. I also added a check box to activate or not those fonctionnalities and a print of the actual configuration in the configuration page. I wish you nice vacations =)

AmauryBs avatar Jul 11 '19 09:07 AmauryBs