我希望Bosun对JIRA进行API调用,它需要以BASE64编码字符串用户名:密码的形式进行基本身份验证。我可以在通知定义中使用什么关键字将身份验证令牌传递给JIRA?我的基本通知如下所示:
notification jira_alert {
post = https://example.com:8081/rest/api/2/issue/createmeta
contentType = application/json 阅读bosun.org上的文档时,我找不到任何可以使用的特定关键字。有什么提示吗?
发布于 2019-03-18 10:14:46
您可以将键放在URL或JSON数据中吗?例如:
notifaction chat {
next = email
timeout = 10m
post - http://chat.example.com/room/1?key=KEY&message=whatever
}https://stackoverflow.com/questions/50469521
复制相似问题