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

Utils.JiraBot.adapter.getUsers() not getting correct information in utils.coffee #42

Open iris3th opened 7 years ago

iris3th commented 7 years ago

using jira-bot with Jira & Mattermost. using the native code, we get an error message refers for the Jira User checks.

below is the changed, working code in utils.coffee starting at row 62:

result = (users[user] for user of users when users[user].name is jira.name) if jira

please review / merge if possible.