json.milestone do 
  json.partial! "detail", locals: {milestone: @milestone}
end
json.total_issues_count @total_issues_count
json.closed_issues_count @closed_issues_count
json.opened_issues_count @opened_issues_count 
json.total_count @issues.total_count
json.issues @issues.each do |issue| 
  if issue.issue_classify == "issue"
    json.partial! "api/v1/issues/simple_detail", locals: {issue: issue}
  end
end 