Project

General

Profile

Actions

Defect #44680

open

Assignee is not added as a watcher when creating an issue with an assignee who has auto-watch for assigned issues enabled

Added by Ivan Kabluchkov 1 day ago. Updated about 14 hours ago.

Status:
Resolved
Priority:
Normal
Category:
Issues
Target version:
Resolution:
Fixed
Affected version:

Description

Hello!
Current behaviour functionality of auto watcher is not correct. Watcher doesn't auto setup when issue is created, has assigned user and assignee has preference "Issue assigned to me". But I think assignee should be setup automatically after creation of issue. "Issue assigned to me" option applied only after journalize action (app/models/journal.rb add_watcher)
I've attached the patch with tests.


Files


Related issues

Related to Redmine - Feature #2716: User option to automatically add assignee to watchersClosedMarius BĂLTEANUActions
Related to Redmine - Patch #44681: Extract the auto watch logic shared by Issue and Journal into a concernNewActions
Actions

Also available in: Atom PDF