Project

General

Profile

Defect #1240 » 0001-Auto-assign-non-new-ticket-only-if-assignee-is-not-s.patch

Bartosz Firyn, 2016-11-10 18:04

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
313
            if self.status != new_status and self.assigned_to.nil?
314 314
              self.assigned_to = User.current
315 315
            end
316 316
          end
317
- 
(2-2/2)