We have JIRA/HipChat integration working well with our workflow transitions. I'd now like comments made on a bunch of our projects to automatically post to HipChat as well.
The problem I see so far is that
Has anyone done this or have ideas on how to set this up?
Sure thing. We set up a web hook to HipChat "zap" in Zapier. We set a web hook up in JIRA and used the Zapier-generated URL as the destination. Back in Zapier, we used the following filter to catch the hook:
webhookEvent -> (Text) matches exactly -> jira:issue_updated AND
comment_body -> Exists AND
comment_body -> (Text) Does not contain -> #nohipchat
(We put that last line in there so that we had a mechanism to prevent comments from pushing to JIRA if we wanted to)
In the "Create Message" portion of the Zap, we formatted is as follows:
And it ends up looking like this:
@Thomas Peterson Good question. Actually, our reason for #nohipchat is because we often post chunky blocks text (terminal commands, long email strings for added context) to our JIRA issues. #nohipchat allows us to keep from unnecessarily "bombing" the chat room with unsavory text blocks.
have you tried this plugin Go2Group HipChat Plugin for JIRA. I don't know if it's available for your version of JIRA though, but its features include:
- Notify Hipchat post-function. This can be added at any workflow transition.
- Subscription to selected issue events, configured per project. Following are the events supported:
As a footnote, the Go2Group plugin for JIRA wasn't able to do quite what we were looking for, which was post the actual contents of our comments into HipChat rather than simply the status change. But we did figure out how to do this with Zapier.com thanks to an Atlassian blog post. We set up an appropriate "Zap" and are now able to see the contents of our comments inline and in realtime right in HipChat. Very nice!
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot