infojunkie/MantisBT-Slack

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

RedSpid3r opened this issue · 4 comments

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

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

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

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.

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