Office365连接器自定义webhook主题不会更改

时间:2016-03-02 14:55:24

标签: json office365 webhooks office365connectors

所以我的对象会被发送到我的Office365小组:

officeObject = {"title":title,
                "text":"Description: " + description,
                "themeColor": "DB4C3F",
                "sections":[
                    {
                        "facts": [
                            {
                                "name":"Assigned to:",
                                "value":"[" + assignedTo + "](" + userUrl + ")"
                            },
                            {
                                "name":"Urgency:",
                                "value":urgency
                            },
                            {
                                "name":"Created on:",
                                "value":created
                            }
                        ]
                    }
                ],
                "potentialAction": [
                    {
                        "@context": "http://schema.org",
                        "@type": "ViewAction",
                        "name": "View Incident",
                        "target": [
                                url
                            ]
                        }
                    ]
                };

但是这里的通知是什么:

enter image description here

如您所见,标题上方的颜色条为灰色,但在我的对象(第3行)中,我有" themeColor"设置为" DB4C3F"这是HEX的淡红色。 I pretty much copy and pasted the way the docs said to do it。任何人都知道为什么颜色不会改变?

1 个答案:

答案 0 :(得分:1)

您的有效负载构建正确,但服务端似乎存在问题,我们正在调查。

您可以通过电子邮件在connectorbugs@service.microsoft.com上进行跟进,我们会在行为得到纠正后与您联系。感谢您帮助我们在开发人员预览期间发现问题!