api.array :issue_statuses do
  @issue_statuses.each do |status|
    api.issue_status do
      api.id status.id
      api.name status.name
      api.is_closed status.is_closed
      api.description status.description
    end
  end
end
