プロジェクト

全般

プロフィール

Vote #67077

完了

Descendants (subtasks) should be available via REST API

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2010/04/16
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
20
issue_org_id:
5338
author_id:
14492
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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?
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン1.1.0_20 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0