       attributes["notes"] = "#{msg.message.user.name}: #{note}" if note?
 
       # get our issue
-      redmine.Issue(id).update attributes, (err, data) ->
-        if err?
-          if err == 404
+      redmine.Issue(id).update attributes, (err, data, status) ->
+        unless data?
+          if status == 404
             msg.reply "Issue ##{id} doesn't exist."
           else
             msg.reply "There was an error assigning this issue."
         else
           msg.reply "Assigned ##{id} to #{user.firstname}."
+          msg.send '/play trombone' if parseInt(id) == 3631
 
   # Robot redmine me <issue>
   robot.respond /(?:redmine|show)(?: me)? (?:issue )?(?:#)?(\d+)/i, (msg) ->


    request.on "error", (err) ->
      console.error "Redmine request error: #{err}"
      callback err, null

      "hours": hours
      "comments": comments

    redmine.TimeEntry(null).create attributes, (error, data, status) ->
      if status == 201
        msg.reply "Your time was logged"
      else
