Hi,
I'm trying to simply get a list of Epics and associated Stories in my plugin (using Greenhopper 5.7.4) using the REST interface. This simple task does not appear to be possible using this interface. Does anyone know if I'm missing something?
What about through the Java API? Can I do this there?
The Jira SDK and APIs are really (overly) complicated and poorly documented for what they offer, IMO.
TIA,
JC
Community moderators have prevented the ability to post new answers.
I figured a big piece of my problem with some dumb luck:
1) http://server:port/rest/api/2.0.alpha1/search <-- returns everything in your projects (Epics, Stories, Tasks, etc)
2) http://server:port/rest/api/2.0.alpha1/issue/{issue key} <-- Iterate over issues retured from #1 to get what you need
There may be a better way?
You figured it out before I had a chance to comment. Epics, stories, tasks are just issue types associated with an issue. You can refine your searches by issue type using JQL to filter out the results to just what you need. In JIRA 5, you don't need step 2 since the search api will return the full issue not just the issue key.
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.