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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Mar 26, 2018 in Hipchat Data Center

Migration of Hipchat server to Data Center - a retrospective

Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...

460 views 2 6
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