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
Next: Root
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
Hi
I am trying to retrieve the issues those are returned by JQL using search API,
https://intelligenceapp.atlassian.net/rest/api/2/search
Method : Post
Post data:
however that returns all the fields except the attachment field.
But I am able to view the attachment
https://intelligenceapp.atlassian.net/rest/api/2/issue/{{key }} API.
Could anyone tell me what's wrong with this.
Note: I have added the Attachment fields in Field configuration and screen as well
If I remember correctly you need to explicitly specify the fields for this to work. Try adding
fields=attachment
to your request.
Best,
Hannes
yes, that works for me but since I am getting JQL result as a response I wanted to get the attachment for all the issues the API returns.
To acheive that currently I am looping the response and requesting the retrieve issue API by specifying the fields=attachment the params which is time consuming.
It would be better if I can get the attachment while requesting the below API
https://intelligenceapp.atlassian.net/rest/api/2/search
Method : Post
Post data:
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.