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

Fix transition bug due to 204 missing Content-Length #41

Closed jharlap closed 7 years ago

jharlap commented 7 years ago

When transitioning tickets using id > status JIRA can return a 204 with no Content-Length header value. This change treats 204 as implicitly having Content-Length: 0 even if it's missing.