Vote #67077
完了Descendants (subtasks) should be available via REST API
0%
説明
app/views/show.xml.builder, line13:
xml.descendants do @issue.descendants.each do |issue| xml.descendant(:id => issue.id) end end unless @issue.leaf?
journals
Similarly, in index.xml.builder, line 15:
<pre>
xml.descendants do
issue.descendants.each do |descendant|
xml.descendant(:id => descendant.id)
end
end unless issue.leaf?
</pre>
--------------------------------------------------------------------------------
This would show a flat list of all descendants (not only children). How do you get parent/child relationships from that?
--------------------------------------------------------------------------------
Added in r4465.
--------------------------------------------------------------------------------
I don't see this information in the response when I send request to REST API:
GET /issues/441.xml
(I'm using latest Trunk Redmine, just did "svn up")
is it not implemented for xml format?
--------------------------------------------------------------------------------