Mattermost, Inc.

Jira v2.1 DM messages

Hello,

We have configured the jira v2.1 slash command on our MM E10 instance, connected MM account with /jira connect, works fine.

However, this feature does not seem to work:

  • Receive direct messages for Jira at-mentions and issue assignments

I did enable notifications via the jira slash command /jira settings notifications on, is there anything else needed to make this work?

Hi @mves,

  1. Can you open the JavaScript console (instructions on various browsers can be found here), then observe what errors you see when you are assigned to a Jira ticket or when someone comments on your assigned issues?
  2. Which browser or desktop app have you reproduced this on?
  3. What is the version of your JIRA instance? (you may need to ask your Jira Admin if you’re not one yourself).
1 Like

Hi @amy.blais

  1. Unfortunately not getting any errors from Mattermost javascript console, really no messages at all when I assign or comment an issue to myself in our Jira instance.
  2. Tested on Firefox 60.8.0esr (centos)
  3. Jira version is v7.12.3

@amy.blais so apparently we had missed this step in configureing the plugin https://github.com/mattermost/mattermost-plugin-jira#step-2-configure-webhooks-in-jira :roll_eyes:

However after configureing the webhook by our jira admin I am seeing these types of errors, which is odd to me, does it need a team name in the request uri?

{"level":"error","ts":1567766404.6050675,"caller":"mlog/sugar.go:23","msg":"ERROR: ","plugin_id":"jira","Status":"400","Error":"Request URL: no team name found","Host":"REDACTED","RequestURI":"/plugins/jira/webhook?secret=REDACTED&user_id=michael.vanes&user_key=michael.vanes","Method":"POST","query":"secret=REDACTED&user_id=michael.vanes&user_key=michael.vanes"}