Complete refactoring of the jira plugin. 41a9f5e
From 1407 to 960 lines of code. Removed the npm jira dependency (relying on a small rest api client now), callback hell (replaced with Promises), using ES6, and more.
Lots of issues fixed. The code is more stable and Jira configurations changes should not break it like it once did (and if it does it will be pretty fast to fix it).