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

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

0 votes
Answer accepted
rich Atlassian Team Feb 10, 2016

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