Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Administrators have the option to link a space to a specific Hipchat room and configure what Confluence activity will be reported to the room. This is normally done from the UI: Space Tools → Integrations → Hipchat. The follow shows how to do this with the CLI's renderRequest action.

Prerequisites

  1. Use the UI to configure at least one Hipchat integration (Admin or space) to establish which Hipchat needs to be connected and do the login etc....

  2. Use the Hipchat CLI to get a list of rooms eligible to be accessed with that same user id - getRoomList. Use the list to determine the room id (number) that you will need later to connect the space to a room.

...

To add another notification:

Code Block
titleAdd link to hipchat room with notifications when a blog is creatednotification for page create
-a renderRequest --requestType PUT --request /rest/hipchat/spacetoroom/1.0/config/EXPERIMENT/15/PageCreate

To remove a notification:

Code Block
titleAdd link to hipchat room with notifications when a blog is createdRemove notification for page create
-a renderRequest --requestType DELETE --request /rest/hipchat/spacetoroom/1.0/config/EXPERIMENT/15/PageCreate

If you remove all notifications, the link will disappear as well.