I was trying to download and open the attachments from server to local but unable to open the file

Bhargavi Vasa
Contributor
June 17, 2024

I was trying to download and open the attachments from server to local but unable to open the file . The file type same for all the attachment file

How can I download all the attachments  and store it the call ?

Iam using Linux server 

2 answers

0 votes
Nicolas Grossi
Banned
June 17, 2024

@Bhargavi Vasa is the attachments path correctly ? I should be like data/attachments/{issue-key}

 

Nicolas

Bhargavi Vasa
Contributor
June 17, 2024

Yes it's like data/attachments/projectkey/10000/issuekey

Bhargavi Vasa
Contributor
June 17, 2024

I took it from jira system--> attachments which has path and other details like thumbnail enable/disable 

0 votes
Nicolas Grossi
Banned
June 17, 2024

@Bhargavi Vasa 

Are you sure that the issue has attachments ? Attachments are stored in an "external" file system, you might take a look there based on the issue key.

Nicolas

Bhargavi Vasa
Contributor
June 17, 2024

Yes the issue has attachments and I was into data/attachments/pkey/issuekey/10000/

I was able to see the I'd of the attachment,tried copying it into tmp folder and then copied to local....the file type is "File"

How can I get attachments for all issues and store it in local

We are doing CSV export, as it only shows the attachment link with the attachment id we are trying to download from server

Suggest an answer

Log in or Sign up to answer