read issue.json from Easy Red Mine
Added by Gerhard Diller about 8 years ago
hi
i am writing an wiki extension which shows all issue(tickets) out of an Easy Red Mine.
I want to read out the Project id, the subject and the spent_time attribute out of the issue.json file,
but it doesnt show any entry for the spent_time attribute
If I call the Json file over this url: /issues/4341.json it contains the spent_hours attribute
if I call the Json file over the project id it doesnt contain the the spent_hours attribute
{ "issue": { "id": 4341, "project": { "id": 70, ... }, ... "subject": "...", "description": "...", "start_date": "2016-09-15", "due_date": "2016-09-23", "done_ratio": 0, "estimated_hours": 1.0, "spent_hours": 0.01666666753590107, <<< "total_spent_hours": 0.01666666753590107, <<< ... "created_on": "2016-09-15T09:49:24Z", "updated_on": "2016-11-03T12:23:32Z" } }
/issues.json?project_id=70 { "issues": [{ "id": 4341, "project": { "id": 70, ... }, ... "subject": "...", "description": "...", "start_date": "2016-09-15", "due_date": "2016-09-23", "done_ratio": 0, "estimated_hours": 1.0, ... "created_on": "2016-09-15T09:49:24Z", "updated_on": "2016-11-03T12:23:32Z" }], "total_count": 1, "offset": 0, "limit": 25 }
please help
thanx :-)