json.requirement_issues @requirement_issues.each do |issue| 
  json.partial! "api/v1/issues/simple_detail", locals: {issue: issue}
end

json.task_issues @task_issues.each do |issue| 
  json.partial! "api/v1/issues/simple_detail", locals: {issue: issue}
end

json.bug_issues @bug_issues.each do |issue| 
  json.partial! "api/v1/issues/simple_detail", locals: {issue: issue}
end