ndaversa / hubot-jira-bot

Lets you search for JIRA tickets, open them, transition them thru different states, comment on them, rank them up or down, start or stop watching them or change who is assigned to a ticket. Also, notifications for assignments, mentions and watched tickets.
https://www.npmjs.com/package/hubot-jira-bot
MIT License
61 stars 43 forks source link

hubot-jira-bot commands don't work #51

Open mayragxx opened 6 years ago

mayragxx commented 6 years ago

my hubot dont't recognize hubot-jira-bot commands except jira help. i'm using mattermost, i just wanna test hubot-jira-bot commands to jira

[Mon May 14 2018 18:06:20 GMT+0000 (UTC)] DEBUG Message 'bot-jira jira help' matched regex //^\s[@]?bot-jira[:,]?\s(?:(?:help jira|jira help)(?: (.*))?)//; listener.options = { id: null } [Mon May 14 2018 18:06:20 GMT+0000 (UTC)] DEBUG Executing listener callback for Message 'bot-jira jira help' [Mon May 14 2018 18:06:20 GMT+0000 (UTC)] ERROR TypeError: Cannot read property 'increment' of undefined at TextListener.callback (/home/ec2-user/bot-jira/node_modules/hubot-jira-bot/src/index.coffee:355:19) at /home/ec2-user/bot-jira/node_modules/hubot/src/listener.coffee:65:12 at allDone (/home/ec2-user/bot-jira/node_modules/hubot/src/middleware.coffee:44:37) at /home/ec2-user/bot-jira/node_modules/async/lib/async.js:274:13 at Object.async.eachSeries (/home/ec2-user/bot-jira/node_modules/async/lib/async.js:142:20) at Object.async.reduce (/home/ec2-user/bot-jira/node_modules/async/lib/async.js:268:15) at /home/ec2-user/bot-jira/node_modules/hubot/src/middleware.coffee:49:13 at _combinedTickCallback (internal/process/next_tick.js:131:7) at process._tickCallback (internal/process/next_tick.js:180:9)