The 'Attachment#save!' method looks like it should add an attachment to an issue.
However, it was not passing the default headers for a multipart post.
Since we use a header to pass the Jira OAuth Access Token authorization the call would fail because of permissions.
The 'Attachment#save!' method looks like it should add an attachment to an issue. However, it was not passing the default headers for a multipart post. Since we use a header to pass the Jira OAuth Access Token authorization the call would fail because of permissions.
Please see the fix in this Pull Request:
https://github.com/sumoheavy/jira-ruby/pull/415