Can anybody help me with creation of slash commands.

I would like to create a commands which sends message to another room from the existing room.

I would like to know the basics,so that i can create my commands.

 

Anticipating for response:)

 

1 answer

0 votes

The easiest way to get started with HipChat Slash commands is to configure your own via the online wizard:

  1. log into your HipChat group
  2. click on the 'Rooms' tab
  3. click on the desired room link
  4. click on the 'Integrations' link
  5. click on the 'Build your won integration' tile:
    image2016-4-22 11:2:11.png
  6. You can then configure a single command:
    image2016-4-22 11:13:31.png 
  7. Implement your own micro service to process the webhook payload that HipChat will POST to  the configured URL - you can use whatever technology stack you prefer.

In order to call back into HipChat from the micro service hosted at the configured URL, you probably want to use one of the available HipChat libraries.

For advanced use cases, you might also want to consider building a full fledged HipChat Connect add-on, specifically Adding custom actions to HipChat, which are the more advanced and usable successor of slash commands.

 

That was great Steffen. can you help me more please.

I would like to create a slash command which will send notification or message to another room

For eg:   /send Roomname Message

This /send slash command should send the Message to the Roomname mentioned.


is this achievable.

Please help me

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

506 views 1 10
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you