Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Rest api Server - get attachments

Leon Stall
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 17, 2023

Hello,

So I´m implementing a program for my project on cloud and server services,  but am encountering the problem that an api call made on the server to fetch all details for an epic, inlcuding the attachments returns an undefined for my attachments but when I call it on the cloudSide, it works perfectly fine. I use the following call with the following definition for attachments:

 

export interface Attachment {
id: string
filename: string
content: string
mimeType: string
created: string

}

 

.get(
`search?jql=issuetype = Epic AND project = ${projectIdOrKey}&fields=*all`
)

0 answers

Suggest an answer

Log in or Sign up to answer