Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tasks:current now handles multiple users with current tickets

  • Loading branch information...
commit a75d31856bfe7af7db7f6d7cb06c338de8bc3eb4 1 parent 9371e32
@wilson wilson authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 rakelib/tasks.rake
View
5 rakelib/tasks.rake
@@ -24,8 +24,9 @@ namespace :tasks do
h = Hpricot.parse(`#{str}`)
- (h / 'tickets').each do |e|
- user = Ticket.user((e / 'user-id').text.to_i)
+ (h / 'ticket').each do |e|
+ uid = (e / 'assigned-user-id').text.to_i
+ user = Ticket.user(uid)
tags = (e / 'tag').text
title = (e / 'title').text
Please sign in to comment.
Something went wrong with that request. Please try again.