It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Slash command to local url

Is it possible to create a slash command that hits a local url? I have created one from the integrations menu but it doesn't seem to be reaching my local url which is available on our internal network. Is this supported or can I only post to publicly accessible sites? 

1 answer

1 vote
Nick_Turskyi Atlassian Team Mar 14, 2017

Hi Andrew,

A webhook is initiated from HipChat servers, so they should be able to access your endpoint.

If you're using HipChat Server behind the firewall, i.e. inside your internal network, it should work.

Hope that helps,

Nick

I created a test instance and made sure I had a public URL that was accessible and it doesn't look like it's working. 

I created a simple html page with the following text in it that it should be pulling in I think

{
"color": "green",
"message": "Andrew!!!",
"notify": false,
"message_format": "text"
}

Nick_Turskyi Atlassian Team Mar 16, 2017

Andrew,

Be aware that HipChat will POST to this URL, not just GET it. Some web servers don't allow POST request to static files be default (that happened to me with nginx).

I would try POST'ing to this URL manually (e.g. with curl) first in order to make sure it returns the JSON response.

Regards,

Nick

That's what it was. Thanks so much for the help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,184 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you