mattermost-plugin-jira: Unsupported webhook data: jira:issue_updated
After we upgraded our mattermost server to version 5.13.2 we’re experiencing issues with our Jira integration via the webhook method.
Currently our Jira WebHook setup looks like this:

Before the upgrade we were notified about opened and closed issues in the respective channel. After the update we only get notifications for opened issues. If someone closes a task in Jira we also see the following error message in our mattermost server log:
{"level":"error","ts":1565268360.034311,"caller":"mlog/sugar.go:23","msg":"ERROR: ","plugin_id":"jira","Status":"400","Error":"Unsupported webhook data: jira:issue_updated","Host":"<URL>","RequestURI":"/plugins/jira/webhook?secret=<SECRET>&team=<TEAM>&channel=<CHANNEL>&updated_status=1&user_id=<USERID>&user_key=<USERID>","Method":"POST","query":"channel=<USERID>&secret=<SECRET>&team=<TEAM>&updated_status=1&user_id=<USERID>&user_key=<USERID>"}
Is there any possibility to see which field or part of the posted content is causing this error?
Regards,
Daniel
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
@danielhass My read, based on that payload, is that this will probably worked with the Jira plugin prior to version 2 and should work again starting with version 2.1, which is included with Mattermost 5.14.0.
On my end, I’m seeing this issue as a result of my version of Jira not including the
issue_event_type_namefield, which the plugin relies on for processing. I’m trying to push through an upgrade, but that’ll take some time. In the meantime, it would be nice if the plugin could process webhook payloads that don’t include it.@mickmister - sorry that it took me that long to answer. Jira Server 7.11.2.
Please find the POST with attached body of an
issue_closedevent below (private information omitted):POST /plugins/jira/webhook?secret=<secret>&updated_status=1&team=adabas&channel=gtd-adabas&user_id=<user_id>&user_key=<user_id>