Room notification's card attribute with a url specified results in no message being sent

https://www.hipchat.com/docs/apiv2/method/send_room_notification

The docs say that attributes can have a url "Url to be opened when a user clicks on the label" but when I specify one, no message is sent to the room.

 

1 answer

1 accepted

This widget could not be displayed.

Here's an example:

{
  "style": "application",
  "url": "https://google.com",
  "id": "d54efeb7-c5d4-4b75-b8cd-67e395969cb1",
  "title": "Aut tenetur non labore aliquam sit.",
  "description": "blah blah blah",
  "icon": {
    "url": "http://icons.iconarchive.com/icons/icons8/windows-8/48/Systems-Firefox-icon.png"
  },
  "attributes": [
    {
      "label": "odit",
      "value": {
        "url": "http://www.skyscanner.net/static/sites/default/files/australia.jpg",
        "icon": {
          "url": "http://icons.iconarchive.com/icons/designbolts/hand-stitched/24/RSS-icon.png"
        },
        "label": "ut",
        "style": "lozenge-error"
      }
    }
  ]
}

Ah, label being defined twice in attributes threw me off. I didn't catch the nesting there. Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Friday 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...

204 views 1 9
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