プロジェクト

全般

プロフィール

Vote #67312

未完了

Add Watcher based on issue category

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
-
開始日:
2010/05/23
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
5577
author_id:
1538
assigned_to_id:
0
comments:
17
status_id:
1
tracker_id:
2
plus1:
3
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

We'd like the ability to add certain people as watchers to issues in particular categories. The members should be able to unwatch if they choose. For example, user John wants to be added to all issues put into the "Marketing" category. When a new ticket is created in "Marketing" he should be added as a watcher and if a ticket is changed to "Marketing" he should be added as a watcher.


journals

+1

I'd like to see this feature expanded to allow a default watcher on all issues in a project as well.
--------------------------------------------------------------------------------
+1

related to #6723
--------------------------------------------------------------------------------
Very useful just in case a team is formed around a category, and in case someone goes to holiday and his collegque shal overtahe his works(new issues) for a category.
+1
--------------------------------------------------------------------------------
I wrote a patch for this problem.

In the issue category settings,
we can select default watchers for the category.
Then in the new issue,
default watchers are checked and hilighted according to the category.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Any updates for ver 1.4? I am having trouble with code in patch related to app/views/issues/_form.html.erb

--------------------------------------------------------------------------------
Anjali Hastha wrote:
> Any updates for ver 1.4? I am having trouble with code in patch related to app/views/issues/_form.html.erb

I am working for new versions. Please wait a minute.
--------------------------------------------------------------------------------
Patches for Redmine 1.4.2 and trunk.

I fixed some bugs in my previous patches, and added some tests.

--------------------------------------------------------------------------------
Thanks for this patch. Hoever i think watching and following notification (mail) for al by user readable attribites (as category) shall be configurable by every user himself.

See also #8241

--------------------------------------------------------------------------------
Terence Mill wrote:
> Thanks for this patch. Hoever i think watching and following notification (mail) for al by user readable attribites (as category) shall be configurable by every user himself.

You are right.
I notice that my patches are not fulfill what this ticket's reporter wanted to do.
They simply simulate Bugzilla's category default CC.
Please forget them, sorry.

--------------------------------------------------------------------------------
app/views/watchers/_new.html.erb
<pre>
<% form_remote_tag :url => {:controller => 'watchers',
:action => (watched ? 'create' : 'append'),
- :object_type => watched.class.name.underscore,
+ :object_type => (watched_type ? watched_type.name.underscore : watched.class.name.underscore),
</pre>

When create new issue, click _Search for watchers to add_ and it does not add to the list.
And it does not work stable with _redmine_anonymous_watchers_ plugin
--------------------------------------------------------------------------------
I've just created a plugin to do it.
Hope it helps you

http://www.redmine.org/plugins/redmine_category_watchers
--------------------------------------------------------------------------------
Any idea how to get that working on Redmine 2.4.3?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,New,6723,Auto-add default assignee of Issue category as a "watcher" when the issue is assigned to someone else
relates,New,31826,Option to set the default watchers for each Category
duplicates,Closed,7315,New Category - Watchers option feature request

Admin Redmine さんがほぼ2年前に更新

  • カテゴリIssues_2 にセット

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

いいね!0
いいね!0