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

invalid json response Unexpected token < #49

Open Gyadav opened 6 years ago

Gyadav commented 6 years ago

Hi,

I have successfully integrated the same, however on each command I get below error, can you please suggest what might be going wrong in this case, Thanks a lot...!!!

[Mon Jan 15 2018 18:24:22 GMT+0530 (IST)] ERROR FetchError: invalid json response body at https://XXX.XXX.XXX/jira/rest/api/2/search reason: Unexpected token < at /home/gyadav/myhubot/node_modules/hubot-jira-bot/node_modules/node-fetch/lib/body.js:48:31 at process._tickCallback (node.js:369:9)

nikhilgorantla commented 6 years ago

@Gyadav Can you help me on how to set up the log output of Jirabot -- Hubot