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.
Using jql search query, the sprint label can be given as input
http://jira.domain.com/rest/api/2/search?jql=Sprint = {sprint input},
which should be active sprint and should display the comments links in json object from the above url displays all the json object expect comment section why and how to write jql for print the comment json object with sprint input.
Hi @bindu shree
That REST API method for a JQL search should include any comments which are in the issues.
The JQL to return issues in the current open (active) sprints would be as shown below. Please substitute in your project name and try this in advanced search to confirm it returns what you expect, and then use it in the REST API call.
project = myProjectName AND sprint IN openSprints()
Kind regards,
Bill
Hi @Bill Sheboy
I don't want to add the project name, I need to pass to sprint label and should display json data of comment links
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of note...
When you call the REST API with search and JQL, do you see the comment data? It is present when I call this for the search method with JQL.
Next, if you do not add the project to your JQL, this could return multiple sprints across different projects, and this may not be what you wanted.
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.