プロジェクト

全般

プロフィール

Vote #64615

完了

Notification on loosing assignment

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
開始日:
2009/02/07
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
40
issue_org_id:
2694
author_id:
3344
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When the user assigned to an issue change, old assigned user should receive a notification to be aware of this update too.

New method in @journals.rb@


    def old_value_for(prop)
        c = details.detect {|detail| detail.prop_key == prop}
        c ? c.old_value : nil
    end

Updated method in @issue.rb@


  def recipients
    recipients = project.recipients
    # Author and assignee are always notified unless they have been locked
    recipients << author.mail if author && author.active?
    recipients << assigned_to.mail if assigned_to && assigned_to.active?
    
    old_assigned_to_id = @current_journal.old_value_for('assigned_to_id') if @current_journal
    old_assigned_to = User.find_by_id(old_assigned_to_id) if old_assigned_to_id
    recipients << old_assigned_to.mail if old_assigned_to && old_assigned_to.active?
    
    recipients.compact.uniq
  end

journals

+1
--------------------------------------------------------------------------------
Implemented in r8695.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The issue was fixed in 2.x.

But after upgrading to Redmine 3.4.2.stable notifications to old assignee is absent!
--------------------------------------------------------------------------------


related_issues

relates,Closed,19197,Missing notification if assignee was a group
duplicates,Closed,9551,Changing assignee should be notify the previous assignee

Admin Redmine さんが4年以上前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョン1.4.0_40 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0