You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Currently, there are no rest APIs available to download a Jira attachment. Can somebody explain me how to create a custom rest endpoint to download an attachment by calling the rest call and giving the parameters issue id and attachment id?
Welcome to the Atlassian Community!
You can use the "get content" REST call to get the attachment - see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-group-issue-attachments but you do need to do a bit of messing around to get the file name and work out what the attachment id is (you'll need to do that messing around in a REST endpoint too)