diff --git a/app/views/issues/index.xml.builder b/app/views/issues/index.xml.builder index ccc3e52c..ba5697c9 100644 --- a/app/views/issues/index.xml.builder +++ b/app/views/issues/index.xml.builder @@ -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 diff --git a/app/views/issues/show.xml.builder b/app/views/issues/show.xml.builder index 84a1d95a..1237b8cd 100644 --- a/app/views/issues/show.xml.builder +++ b/app/views/issues/show.xml.builder @@ -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