MrRefactoring / jira.js

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API

Home Page:https://mrrefactoring.github.io/jira.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getAttachmentContent returns wrong data

RealBuddy opened this issue · comments

Hi,
I guess there is an issue in this method:
https://mrrefactoring.github.io/jira.js/classes/Version3.IssueAttachments.html#getAttachmentContent
it returns anything but the arraybuffer
could you please add responseType: 'arraybuffer',
here


so it will look like this.
image

Hi @RealBuddy! Let me check

@MrRefactoring Thank you!
I've killed more than ten hours trying to decode the returned string :)

Fixed in v2.15.4

Thank you!