Project

General

Profile

Defect #1240 » 0001-Fix-auto-assign-task-when-status-is-not-new.patch

Bartosz Firyn, 2016-11-10 17:48

View differences:

lib/scrum/issue_patch.rb
310 310
        def update_assigned_to
311 311
          new_status = IssueStatus.task_statuses.first
312 312
          if new_status
313
            if self.status == new_status
314
              self.assigned_to = nil
315
            else
313
            if self.status != new_status
316 314
              self.assigned_to = User.current
317 315
            end
318 316
          end
319
- 
(1-1/2)