Hope this helps!
listTransitions -- was returning undefined to me (using 2.0.alpha1), but when I removed the parameter I got the correct result.
addComment -- had no error handling if the statusCode wasn't a 201 or 400.
This tested against JIRA v4.4.1#660-r161644
Add fallback for statusCode errors in addComment
I have merged in these changes manually.