Hello,
How could i achieve this?
I have not tried it yet, just a thought.
I was thinking of using Jira automation, to detect attachment.
Download it via API, send to to some cloud transcoding service.
Get it back and add it to issue, deleting the original file.
Hey @Kukk I love this idea. Unfortunately I don't think it can be done with only Jira Automation.
However, if you were able to set up your own external service, you have Jira Send Web Request to it including the following information:
Your service could then download the attachment (you would need to use an API key) and then transcode it (or send it to a transcoding service), and then make an API call back to Jira to upload the new file.
HUH, if you're familiar with React, it looks like maybe maybe you could use Forge to do this: https://developer.atlassian.com/platform/forge/automation-with-forge/#extending-automation-with-forge
Let us know if you if you end up implementing something like this!
Thanks a lot for really quick and thorough answer.
Forge looks promising.
I will work on this project in 4-5 months, just getting intel.
It seems that it might work with automation and Jira cloud API
1. API call to get issue data
3. Parse the response, see if attachment format is correct.
2. Get latest attachment link ( as you said) - this is direct download link
3. Make a web request in automation to external cloud transcoding service with that link.
4. Get response, link to file maybe?
5. Use jira Cloud API to add the attachment ,need to look into this, how exactly works, what's the body, and can just a link to video work here.
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.