-
-
Couldn't load subscription status.
- Fork 137
Open
Description
Description
When uploading a zip or xslx file with Add-JiraIssueAttachment it will be posted as iso-8859-1 text instead of binary, which makes the attachment unreadable.
Steps To Reproduce
create a zip-file or xlsx file and upload it. It will upload but the file will be broken.
Expected behavior
File can be opened from issue
Screenshots
Your Environment
Get-Module JiraPS -ListAvailable | Select Name, Version
Name Version
JiraPS 2.14.7
$PSVersionTable
Name Value
PSVersion 7.4.6
Possible Solution
better detection of binary files in function and setting fileenc to the correct value, or at least be able to add a flag to the function to set fileenc to binary (or similar).
Metadata
Metadata
Assignees
Labels
No labels