Jira API to get the attachment data in salesforce apex

Hi Team,

Hope you guys are doing well.!!
I wanted to get all the attachments for an issue in Jira using the custom API. We have the requirement to store those attachments in the salesforce case attachment. I tried multiple ways to use that but there is no API that is giving the attachment content in blob format. Can you please help in this or guide me to any available Jira API to use.
Below API I have tried:
https://myjira.domain/rest/api/2/attachment/538066/
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/

Thanks!!

Regards,
Raj