Is there a way to get the hipchat plugin for JIRA to post messages to a room based on project?

Mark Wolfe January 23, 2013

Our aim is to enable support staff to rally in a room with the same name as the project and be notified of issues when they are created based on thier priority.

At the moment it is our understanding the hook for the plugin is implemented in a workflow post function. As these workflows can be shared by many projects we cannot see a way to configure the room based on the project the issue was created in.

Does anyone have any ideas on how this could be achieved?

2 answers

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2013

You can also have a look at this plugin.

https://marketplace.atlassian.com/plugins/com.go2group.hipchat.hipchat-plugin

A different version created from the original code, for a customer. We decided to publish it.

Mark Wolfe January 25, 2013

Looks good but slightly different to what I need, also I would prefer to use the open source one as we may need to make changes inthe future.

Thanks for posting though.

0 votes
Bruno Rosa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2013

Hi Mark,

I think what you're looking for is outlined on this documentation. You also said about notifying the room based on the issue priority. Basicaly you'll have to add the post function (in the Create Issue transition) of type 'Notify HipChat' and build your JQL Query to search for issues in a specific project and ordered by 'priority'.

Hope this helps!

Cheers,

Bruno Rosa

Mark Wolfe January 25, 2013

Gday Bruno

If you read the comments on the https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.jira you will see that if you share a workflow across a number of projects you will be unable to 'route' messages to a specific room based on the project.

To over come this I have forked the project, thankfully it was open sourced by some great people at Atlassian, and modified it so that it provides an option to also check for room with a name that matches the key of the project.

Fork is here https://bitbucket.org/wolfeidau/hipchat-for-jira

Going to test these changes this week then push them back to the origininal version.

Cheers

Suggest an answer

Log in or Sign up to answer