infojunkie / MantisBT-Slack

Slack integration for Mantis bug tracker
GNU General Public License v2.0
48 stars 37 forks source link

match "color:" slack webhook value to Mantis status colour #25

Open RedSpid3r opened 7 years ago

RedSpid3r commented 7 years ago

Is it possible to have the "color":"#" option in the Slack webhook be dynamic and reflect the colours from the config file so that if a status is changed the corresponding slack post matches

infojunkie commented 7 years ago

Good idea! Will implement time permitting, and feel free to submit a PR as well.

AmauryBs commented 5 years ago

Hello, I've matched the sclack color with status color in my fork. I'm not sure that I used the most efficient way to do so but you can use it to improve the plugin if you want

infojunkie commented 5 years ago

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.

AmauryBs commented 5 years ago

Here is my code: https://github.com/AmauryBs/MantisBT-Slack (I also made a pull request). I wish you nice vacations =)