Reputation: 584
I am able to get all the issues from the api using https://{jira_instance}/rest/api/2/search?jql=Sprint={sprintID}
, however the individual issues do not have this information.
Using Jira's REST API, or the JQL query language (which I can push into the api), I'd like to be able to determine which issues in an open sprint were pulled in after the sprint was started, as opposed to those brought in at the sprint inception.
In the old grasshopper api type calls (which has very disjointed documentation across the web), there was a "reports" type endpoint which may have been useful, but that doesn't seem to be present in the ../rest/api/2..
api.
Any and all suggestions welcome!
Upvotes: 0
Views: 527
Reputation: 3298
If you're using the ScriptRunner add-on with JIRA Server, you can use one of their custom JQL functions and embed the following JQL into your query:
issueFunction in addedAfterSprintStart("Sample Scrum Board", "Sample Sprint 3")
Upvotes: 2