This commit is contained in:
呱呱呱
2023-11-08 10:54:09 +08:00
parent 452890f825
commit 43be8d1724
5 changed files with 19 additions and 5 deletions

View File

@@ -45,8 +45,9 @@ json.attachments issue.attachments.each do |attachment|
json.partial! "api/v1/attachments/simple_detail", locals: {attachment: attachment}
end
json.pull_fixed issue.pull_attached_issues.where(fixed: true).present?
json.parent_id issue.parent_id
json.root_id issue.root_id
json.pm_issue_type issue.pm_issue_type
json.pm_sprint_id issue.pm_sprint_id
json.pm_project_id issue.pm_project_id
json.time_scale issue.time_scale
json.time_scale issue.time_scale
json.child_count issue.child_count

View File

@@ -9,11 +9,12 @@ json.status_name issue.issue_status&.name
json.priority_name issue.priority&.name
json.milestone_name issue.version&.name
json.milestone_id issue.fixed_version_id
json.parent_id issue.parent_id
json.root_id issue.root_id
json.pm_issue_type issue.pm_issue_type
json.pm_sprint_id issue.pm_sprint_id
json.pm_project_id issue.pm_project_id
json.time_scale issue.time_scale
json.child_count issue.child_count
json.author do
if issue.user.present?