Commit 1b5fb4ac authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix assignee change in Issues::UpdateService

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 7d8d9bd1
......@@ -13,7 +13,7 @@ module Issues
if params.present? && issue.update_attributes(params)
issue.reset_events_cache
if issue.is_being_reassigned?
if issue.previous_changes.include?('assignee_id')
notification_service.reassigned_issue(issue, current_user)
create_assignee_note(issue)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment