Open mwoffenden opened 2 years ago
Hello,
Believe I ran into the same issue. Here is the snippet of my workaround.
foreach ($attachment in $attachments){
$path = 'C:\temp\' + $attachment.FileName
Invoke-JiraMethod -URI $attachment.content -OutFile $path
}
Has anyone run into this, and is there a solution?
I've already connected to the server using an API key, and successfully accessed issues and attachments. But when I try to download an attachment I see the following.
The Powershell command is: Get-JiraIssueAttachmentFile -Credential $JiraCreds -Attachment $attachment -Path "C:\TEMP"