I've seen this topic come up a number of times and I can't seem to find a good solution to make this work (I may not be looking hard enough).
Given a known attachment ID, valid authentication and permissions, how do I download an attachment to my active directory from a Jira issue in Node.js?