如何查询Atlassian Connect应用程序描述符中定义的Jira webhooks?
我有一个 Jira connect 应用程序,它在应用程序描述符中指定了许多静态 Webhook。对于我正在尝试调试的某些(非管理员)用户,网络钩子不会被触发。在文档中,有一种方法查询 REST(动态)webhooks,使用 但这会为我们的应用程序返回一个空列表(大概是因为 webhooks 被声明为 连接模块)。我通过获取 尝试过此操作/webhook/failed
和 /webhook
端点。
该应用程序具有 ADMIN 范围,并且我们有许多事件的 Webhook,包括 jira:issue_created
,尽管对于某些用户来说,这些事件永远不会触发。
我的问题是如何查询连接描述符中的附加组件指定的 Webhook?有没有办法查看失败的交付或可能已触发的 Webhook 的其他元数据?
谢谢你!
I have a Jira connect app that specifies a number of static webhooks in the app descriptor. The webhooks aren't being fired for some (non-admin) users, which I'm trying to debug. In the docs, there's a way to query REST (dynamic) webhooks, using the but this returns an empty list for our app (presumably since the webhooks were declared as a connect module).I've tried this by GETting the /webhook/failed
and the /webhook
endpoints.
The app has ADMIN scope, and we have webhooks for a number of events including jira:issue_created
, although for some users these are never firing.
My question is how can you query webhooks specified by an add-on in a connect descriptor? Is there a way to see failed deliveries or other metadata for webhooks that might have fired?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论