Hello my friends,
We are using the Jira REST API to get information about our Sprints into another tool. We know that the Sprint's start date and end date is information stored in GreenHopper, so we understand why they are not part of the response to the GET version request. Is there any other way of getting that information through any other interface?
Cheers,
Diego Alonso
Hi,
You can retrieve GH Sprint's start date and end date from com.pyxis.greenhopper.jira.configurations.ProjectConfiguration#getVersionStartDate and getVersionEndDate - but that requires writing a plugin on the server side or extending GH directly (and building it from the source code). You can retrieve ProjectConfiguration using com.atlassian.greenhopper.service.configuration.ConfigurationService which could be autowired to your own class if you import it in your atlassian-plugin.xml.
From this step exposing start date and end date via your own REST module looks like a piece of cake :)
yeah, the good old crew :)
Thanks for your help
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.
Howdy Diego, This seems to be on the horizon, and is marked for "2011.S06".
https://jira.atlassian.com/browse/GHS-1167
Maybe it's just around the corner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Diego,
The closest I can come up with is getting the RemoteVersion through JIRA's API:
It's got getReleaseDate(), but I realize that's not quite what you're after. I'm leaving this as a comment so the question stays unanswered. Nice to hear from you!
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.