HipChat integration's callbackUrl not getting called

Building a new integration, but I don't get requests to the callbackUrl.

On installation I give it the URL to the add-on/capabilities descriptor, and I see in my logs a GET request to it, but I never see a any requests done against what's defined under `installable.callbackUrl`.

What am I doing wrong?

Here's the JSON I'm providing to HipChat to install (names changed, but the structure is the same):

{
  "name": "Foobar",
  "description": "Lorem ipsum dolor sit amet",
  "key": "com.example.foobar",
  "links": {
    "homepage": "https://foobar.ngrok.io/",
    "self": "https://foobar.ngrok.io/hipchat/install"
  },
  "vendor": {
    "name": "Something or Other",
    "url": "http://foobar.com"
  },
  "installable": {
    "allowGlobal": false,
    "allowRoom": true,
    "callbackUrl": "https://foobar.ngrok.io/hipchat/installed?callback=1"
  },
  "capabilities": {
    "hipchatApiConsumer": {
      "fromName": "Foobar",
      "scopes": [
        "send_notification"
      ]
    },
    "webhook": [
      {
        "name": "Foo the bar",
        "url": "https://foobar.ngrok.io/hipchat/message",
        "event": "room_message",
        "pattern": "^/foo(\\s+.*)?$",
        "authentication": "jwt"
      }
    ]
  }
}

0 answers

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