Missed Team ’24? Catch up on announcements here.

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

Is it possible to download an attachment and save an attachment on local file system folder

Ward Schwillens_ Schwillie October 23, 2023

Is it possible to download an issue attachment and save an attachment on local file system folder using automation?

1 answer

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2023

Hi @Ward Schwillens_ Schwillie 

In general it‘s possible if you click the attachment and download it. 

To further understand your requirement could you please specify what you are trying to achieve? According to your question there is no need to do something automated.

Best
Stefan

Ward Schwillens_ Schwillie October 23, 2023

Hi Stefan,

thank you for your suggestion. I do need this as an automation, as this is part of an integration workflow with FreshService. If an attachment is added to the linked Jira issue, it needs to get downloaded / saved to a specific file system location (automatically) where I can pick it up with the freshservice API. 

 

Best regards, Ward

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2023

Hi @Ward Schwillens_ Schwillie 

I‘m afraid that this can not be done natively with Jira Automation as it doen‘t have a direct connection to a client.

Does FreshService have any interface that might be possible to fetch a webhook and than fire back an API call against the Jira api?

That way is the only thing that comes to my mind if it needs to be on issue level.

Another workaroung would be to configure a cron job that does a dowoad on a regular base. In this case the consitions for „which attachments“ needs to specified in details an maybe also some scripting on the platform level needed.

Best
Stefan

Ward Schwillens_ Schwillie October 25, 2023

Hi @Stefan Salzl 

Thank you for thinking with me on the matter. 

Unfortunately, the FreshService API has the reverse problem, it needs a file on a file path to be able to upload the file as attachment, it doesn't accept base64 encoded files. 

Best regards, 

 

Ward

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events