## care of this, but appearantly neither root_id nor
## parent_id are set at that point
touched_sprint=nil
touched_sprints=[]
ifself.is_story?
# raw sql here because it's efficient and not
@ -119,22 +119,24 @@ module Backlogs
connection.execute("update issues set tracker_id=#{connection.quote(Task.tracker)}, fixed_version_id=#{connection.quote(self.fixed_version_id)} where id in (#{tasks})")
connection.execute"update issues set tracker_id = #{connection.quote(Task.tracker)}, fixed_version_id = #{connection.quote(story.fixed_version_id)} where id = #{connection.quote(self.id)}"