I'm making a GET request (to fetch ALL issues) to the following URL: https://{myInstanceName}.atlassian.net/rest/api/2/search?jql=project={myProjectName}. This request returns all of my issues as expected, but for some reason, the attachments field is left out. When I make a request for a single issue, it includes the attachment field.
How can I make a request where the response will include the attachment field for all issues?
You query should be like this
https://{myInstanceName}.atlassian.net/rest/api/2/search?jql=project={myProjectName}&fields=*all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.