How can I send attachment from JIRA to an external API using ScriptRunner in JIRA cloud
You will need to store the binary data of the attachment temporarily before pushing the data into your external API (i.e download then upload). I believe Scriptrunner limits in-memory usage, so you might not be able to simply just do a transfer except, you simply just want to post a string of the attachment location.
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.