<% tickets.sort_by { |t| t.fields["priority"]["id"].to_i }.each do |t| %> <% end %>
Key Priority Last status Due date Reporter Assignee Summary Last Comment
<%= t.priority %> <%= t.status %>
<%= t.duedate %>
<%= t.reporter.name %>
<%= t.assignee.name %>
<%= t.summary %>
By <%= t.last.author %>:
<%= t.last.lines.size == 1 ? t.last.lines.first : t.last.lines.map { |l| l.gsub("<", "<") }.join("
") %>

Posted by lazylead v<%= version %>.