{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/11484","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/11484/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/11484/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/11484/events","html_url":"https://github.com/grafana/grafana/pull/11484","id":311242573,"number":11484,"title":"Alerting: Fixing mobile notifications in Microsoft Teams","user":{"login":"manacker","id":206908,"avatar_url":"https://avatars3.githubusercontent.com/u/206908?v=4","gravatar_id":"","url":"https://api.github.com/users/manacker","html_url":"https://github.com/manacker","followers_url":"https://api.github.com/users/manacker/followers","following_url":"https://api.github.com/users/manacker/following{/other_user}","gists_url":"https://api.github.com/users/manacker/gists{/gist_id}","starred_url":"https://api.github.com/users/manacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manacker/subscriptions","organizations_url":"https://api.github.com/users/manacker/orgs","repos_url":"https://api.github.com/users/manacker/repos","events_url":"https://api.github.com/users/manacker/events{/privacy}","received_events_url":"https://api.github.com/users/manacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-04T14:00:32Z","updated_at":"2018-05-08T09:39:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/grafana/grafana/pulls/11484","html_url":"https://github.com/grafana/grafana/pull/11484","diff_url":"https://github.com/grafana/grafana/pull/11484.diff","patch_url":"https://github.com/grafana/grafana/pull/11484.patch"},"body":"Apparently the summary field in a Microsoft Teams webhook request field gets used for the text displayed in mobile push notifications. If that field contains only whitespace the push notification displays the nonsensical text \r\n\r\n> Card - access it on https://go.skype.com/cards.unsupported\r\n\r\n\r\nTherefore this commit mirrors the notification title in the summary field.\r\nIt also removes the unsupported fields Mention and Recipient from the notifier data struct."},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/387345577","html_url":"https://github.com/grafana/grafana/pull/11484#issuecomment-387345577","issue_url":"https://api.github.com/repos/grafana/grafana/issues/11484","id":387345577,"user":{"login":"manacker","id":206908,"avatar_url":"https://avatars3.githubusercontent.com/u/206908?v=4","gravatar_id":"","url":"https://api.github.com/users/manacker","html_url":"https://github.com/manacker","followers_url":"https://api.github.com/users/manacker/followers","following_url":"https://api.github.com/users/manacker/following{/other_user}","gists_url":"https://api.github.com/users/manacker/gists{/gist_id}","starred_url":"https://api.github.com/users/manacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manacker/subscriptions","organizations_url":"https://api.github.com/users/manacker/orgs","repos_url":"https://api.github.com/users/manacker/repos","events_url":"https://api.github.com/users/manacker/events{/privacy}","received_events_url":"https://api.github.com/users/manacker/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T09:39:42Z","updated_at":"2018-05-08T09:39:42Z","author_association":"CONTRIBUTOR","body":"Summary and title seem to be used in different contexts:\r\n![teams-alert](https://user-images.githubusercontent.com/206908/39749804-dfa53bcc-52b3-11e8-922a-5ec0dc4ec65c.png)\r\nSummary seems to be used for the activity feed and notifications, while title is used to render the actual chat message.\r\nHere are the iOS notifications top is with empty summary, bottom with a non-empty summary.\r\n![img_8009](https://user-images.githubusercontent.com/206908/39749915-2e3e69f2-52b4-11e8-8f63-02bc63f011ee.JPG)\r\n\r\nHence I think mirroring the title is better than giving no summary at all. "}}
{"actor":{"display_login":"manacker"}}