Is it possible to download an issue attachment and save an attachment on local file system folder using automation?
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.