0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ウォッチャーに追加時グループで検索したい(redmine watcher filterの利用)

Last updated at Posted at 2018-10-19

やりたいこと

ウォッチャー追加時に複数人を追加する際にグループでまとめて追加・検索できるようにしたい!

使用するプラグイン

redmine watcher filter
https://github.com/ayweak/redmine_watcher_filter

ちょっとカスタマイズ

https://redmine.tokyo/issues/290
で記載した内容と同じです。

・デフォルト表示
カスタムフィールドの値とロールは私の運用環境下では必要ないためこれをなくしたい。
ウォッチャー追加画面1.PNG

・こんな感じ
ウォッチャー追加画面2.PNG

やり方

{redmineインストールフォルダ}/plugins/redmine_watcher_filter/app/views/watchers/_new.html.erb
を編集し、下記の部分を削除

<p><%= text_field_tag 'user_search_by_cfv', nil, :placeholder => l(:watcher_filter_custom_field_value) %></p> ←カスタムフィールドの検索部分を削除
<p><%= render_role_select @project %></p> ←ロールのフィルター部分を削除

以上

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?