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

How to retrieve info from integrations POST?

Hi. I'm attempting to create an integration to keep track of certain dev environments for users in a room. Currently I've gotten as far as setting up a Node server and returning a string in response to a slash command.

However, in the "example webhook data", none of the JSON seems to be defined as listed:

image.png

I tried to log the item but it only comes back as "Undefined". 

image.png

Logging the req itself shows a massive JSON object, but scrolling through it doesn't reveal anything that looks related to the "example webhook data".

Essentially I would like to have users be able to type a slash command and then an argument or series of arguments, and return data based on that. Any help would be greatly appreciated.

0 answers

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,201 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