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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
i am passing the url : /rest/api/2/search?jql=project=ABC&maxResults=-1 to fetch all ticket information available in the project ABC. i can get all information but not the comment part.
while searching individually for a ticket i can see the comment field.
url :/rest/api/2/issue/ABC-9
can anyone help what i should do?
Hello @saswati.mahapatra,
Welcome to the Atlassian Community!
Thank you for sharing the details.
Testing on my local site using a simple search also doesn’t return the comments and checking some similar cases, I believe this is by default, but it’s possible to get all fields by adding &fields=*all to make sure it will return all fields, including comments.
https://your-site.atlassian.net/rest/api/3/search?jql=project=PKEY&fields=*all
You can also use the endpoint below in case you want to get only some fields (this one only works using v2):
https://your-site.atlassian.net/rest/api/2/search?jql=project=PKEY&fields=comment,description,summary&expand=renderedFields
Please, take your time to test and let us know how it goes.
Kind regards,
Angélica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.