Community moderators have prevented the ability to post new answers.
I'm gonna answer my own question here.
GET /rest/greenhopper/1.0/xboard/plan/backlog/epics?&rapidViewId=:ID. This will retrieve the full list of Epics in the assigned board, then to get the Epic progress, you can look for this part in the returned Epic JSON (each Epic has it):
... "epicStats":{ "notDoneEstimate":15.0, "doneEstimate":12.0, "totalEstimate":27.0, "percentageCompleted":44.0, "estimated":8, "percentageEstimated":100.0, "notEstimated":0, "percentageUnestimated":0.0, "notDone":20, "done":70, "totalIssueCount":90 }, ...
Thanks to Omar from Atlassian.
its not quite clear what youre trying to do.
Actualy i dont know what you mean with Epics... Is it something of your own, or is it part of jira? I am not familiar with all parts of JIRA yet.
Anyway, your rest call is going to the issue rest service. It requires an issue id or issue key. I dont know what you mean with my_epic_id but i think you mean something else. The response youre getting is the json representation of the issue whith id that matches your <my_epic_id>.
Propably you wanted something else. Therefore you must call another service, whichever handles the "epics" and not the issues, or implement your own rest service for that purpuse if Epics is your own thing.
Tip: Go to administration -> Developer Toolbox -> REST API Browser.
It lists all available rest services with their functions. You can also test services from there with different parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah i see, youre in greenhoper context not in jira. My fault.
Well, i dont know greenhopper but if Epics is greenhopers thing, then there is propably also a service for that. Use REST API Browser to find the correct service and url.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.