Forums

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

Getting Sprint field when searching for Next Gen issues

Camille Ballouche
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!
May 3, 2020

Hi,

I need to start integrating with Next Gen project and I am struggling to get the same information I was getting for the classic ones. I need to be able to query all the issues for a specific Epic and one of the field I need to retrieve are the sprint and closedSprints.

For classic project I was using https://developer.atlassian.com/cloud/jira/software/rest/ but this endpoint doesn't work for Next Gen projects so I have to use the JQL search issue API using the parent field in the query. It works but when I try to retrieve the sprints they are returned as toString on a Java Class and not JSON. Only way I found would be to add `expand=versionedRepresentations` to the call but then the structure of the response becomes a nightmare to parse.

I thought the string representation was deprecated so why is it the default return format for sprints ?

 

Is there a solution to that ?

 

Many thanks

0 answers

Suggest an answer

Log in or Sign up to answer