Trigger webhook for solved action

I am trying to trigger a webhook whenever a topic is marked as solved. When I mark a case as solved I do not see a webhook being triggered.

Am I missing something? Does the solved plugin not trigger a webhook?

2개의 좋아요

The discourse-solved plugin does not trigger webhooks. I don’t think we have a WebHook API for plugins.

3개의 좋아요

@zogstrip

Ah crap.
I would have thought the updated webhook would have been triggered.

I am marking this as planned, we got to expose something here, technically the post is “edited” so maybe we should expose “post-edited” when a post is marked solved. I am pretty sure its stored in a custom field so we could always ship that with the hook.

5개의 좋아요

We are adding Discourse as a forum to a system which tracks user actions and award points. Our system tracks content creation and interaction.

We successfully used webhooks to track post & topic creation but there doesn’t seem to be anything for post_edited or post_solved.

Is this in the backlog?

In the backlog but not slotted for any release yet, if you are self hosting and wish to get this to move faster only way is to submit a PR with the proposed improvement.

7개의 좋아요

@sam
I would like to look into this.

I’ll try to build that feature for the solved plugin.

7개의 좋아요

You can give it a shot, be sure to include a test.

4개의 좋아요

게시물을 답변됨/답변되지 않음으로 표시할 때 해결됨 웹훅을 트리거하도록 하는 PR을 생성했습니다:

플러그인이 설치되면 웹훅을 생성하거나 편집할 때 해결됨 웹훅 옵션이 표시됩니다.

7개의 좋아요