Skip to content

literalplus/MantisBT-HipChat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MantisBT-HipChat Revived

This is a fork of the MantisBT-HipChat plugin by Ben Ramsey, which is itself based on the MantisBT-Slack plugin.

This plugin for the MantisBT issue tracking system extends Mantis with the capability to send notifications to HipChat rooms. Specifically, it notifies on issue creation and modification as well as on bug note creation and modification. I think this still uses the old HipChat API though.

Notable differences from upstream:

  • works on MantisBT 2.0.x (They changed some of their events to have BugData parameters instead of the issue id)
  • shows the new status if the status was changed instead of the generic 'bug updated' message
  • shows the new assignee if it is changed, providing fancy messages for self-assignment and unassignment
  • politely omits bug note contents from the notification if either the bug note or the issue itself are marked as private
  • does not prepend @ to Mantis user names (this would lead to a lot of pings in HipChat, and also people might have different usernames there)
  • sends HTML messages instead of plain text ones, to show the icon (this may not be entirely safe, should probably check how MantisBT does sanitisation)
  • cleans up some duplicated code this is important okay
  • adds a MantisBT icon, which is currently served from my own server by default - if you use this, please change the path in lang/strings_en.txt to point to your own server, and open an issue if you have a suggestion on how I could detect the server path in the language files.

Installation

  • Extract this repo to your Mantis folder/plugins/HipChat.
  • Create an API token for HipChat.
  • On the MantisBT side, access the plugin's configuration page and fill in your HipChat API token.
  • You can map your MantisBT projects to HipChat rooms by following the instructions on the plugin's configuration page.

About

Fork of the HipChat plugin for MantisBT, extended and updated to work on the 2.0.x series.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%