Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Attachment Download using Jira script runner

manikanta ch September 3, 2020

Hello all,

In Jira behavior, script runner. how to download attachment from a Jira ticket?.

Thanks,

ch

1 answer

0 votes
Bhushan Nagaraj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 3, 2020

Hey Mani,

Not sure if I understand your question. Can you tell us what you are trying to achieve? 

You can just use the Jira API to download attachments - https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/attachment-getAttachment

Regards,

Bhushan

TheDote March 15, 2022

Hi Bhushan,

I am trying to do this too. I am using Jira Cloud and would like to copy attachments from new JSD Tickets to a local dropbox folder.

I can get the attachment location, but when I try and download using powershell I get error 403.. forbidden. I am logged into JSD on the local machine, so I'm not sure what I'm missing.

If I paste the url into the browser the file downloads right away.

Ideally I'll put all of this into zapier to automate once its running.

Like Daniel Alonso likes this

Suggest an answer

Log in or Sign up to answer