Commit 1b5fb4ac2187c0a9cd775686740615a9e2311646
1 parent
7d8d9bd1
Exists in
spb-stable
and in
3 other branches
Fix assignee change in Issues::UpdateService
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/services/issues/update_service.rb
... | ... | @@ -13,7 +13,7 @@ module Issues |
13 | 13 | if params.present? && issue.update_attributes(params) |
14 | 14 | issue.reset_events_cache |
15 | 15 | |
16 | - if issue.is_being_reassigned? | |
16 | + if issue.previous_changes.include?('assignee_id') | |
17 | 17 | notification_service.reassigned_issue(issue, current_user) |
18 | 18 | create_assignee_note(issue) |
19 | 19 | end | ... | ... |