Adds parent issue id in issue REST API (#5304).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3671 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6a6f403978
commit
0e1595ad56
|
@ -11,6 +11,7 @@ xml.issues :type => 'array' do
|
|||
xml.assigned_to(:id => issue.assigned_to_id, :name => issue.assigned_to.name) unless issue.assigned_to.nil?
|
||||
xml.category(:id => issue.category_id, :name => issue.category.name) unless issue.category.nil?
|
||||
xml.fixed_version(:id => issue.fixed_version_id, :name => issue.fixed_version.name) unless issue.fixed_version.nil?
|
||||
xml.parent(:id => issue.parent_id) unless issue.parent.nil?
|
||||
|
||||
xml.subject issue.subject
|
||||
xml.description issue.description
|
||||
|
|
|
@ -9,6 +9,7 @@ xml.issue do
|
|||
xml.assigned_to(:id => @issue.assigned_to_id, :name => @issue.assigned_to.name) unless @issue.assigned_to.nil?
|
||||
xml.category(:id => @issue.category_id, :name => @issue.category.name) unless @issue.category.nil?
|
||||
xml.fixed_version(:id => @issue.fixed_version_id, :name => @issue.fixed_version.name) unless @issue.fixed_version.nil?
|
||||
xml.parent(:id => issue.parent_id) unless @issue.parent.nil?
|
||||
|
||||
xml.subject @issue.subject
|
||||
xml.description @issue.description
|
||||
|
|
Loading…
Reference in New Issue