QA #241
奈良 裕記 さんが4年以上前に更新
h3. ■現象/要望
カテゴリをサブプロジェクトで継承利用したい(バージョン同様)
(例)システムの利用部署単位に案件管理したい場合、利用部署のサブプロジェクトを作成し、カテゴリで案件を分類するのが自然。
利用部署毎/全体のカテゴリ単位集計も容易。
しかし、カテゴリのサブプロジェクト継承が行えないため、上記運用が行えない。
h3. ■解決策
カテゴリに既存のバージョンと同一機能があれば解決できる。
h3. ■対応状況
本家11898に、2.6用のパッチはあるが、3.Xでは動作しない。
3.4-unofficialcookingブランチにて対応完了した。 3.4.6ベース
(Versionの現行コードをIssueCategoryに取り込んだ)
https://github.com/y503unavailable/redmine/tree/3.4-unofficialcooking
Share Issues Categories for sub-projects(11898,5358) for Redmine 3.4
https://github.com/y503unavailable/redmine/issues/14
3.4でのカテゴリ選択画面エビデンス
https://twitter.com/y503Unavailable/status/1005658604681158656
網羅的なテスト/テストコード作成は行っておらず、現状では本家取込みの見込みは無い。
しかし、下記の通り非常に要望の多い機能であり、新バージョンの目玉にもなり得ることから、標準取込みの動きが出る可能性もあると思われる。(希望的観測)
Redmineのtrunk(4.1の前身)にパッチ作成し一応動作した。
少し様子見てから本家持っていく積り。
https://github.com/y503unavailable/redmine/tree/feature-category-trunk20190629
CentOS7用Ansible
https://github.com/y503unavailable/redmine-centos-ansible/tree/feature-category-trunk20190629
h3. ■補足
11898のpatchは、現行のRedmine3.Xでは動作しない模様(2.6では動作)
http://www.redmine.org/issues/11898 Inheritable issue categories
http://www.redmine.org/issues/5358 Share Issues Categories for sub-projects
http://www.redmine.org/issues/1878 Inherit parts of parent project by subprojects
http://www.redmine.org/issues/6794 Global and inheritable Categories
http://www.redmine.org/issues/16941 Do not clear category on project change if category with ..
http://www.redmine.org/issues/5186 Issue Categories inheritance
http://www.redmine.org/issues/4159 Make Issue categories to be inherited with the project
http://www.redmine.org/issues/12362 Sharing Issue categories
http://www.redmine.org/issues/12215 Option to inherit Issue Category list from Parent project...
下記2件は、本家VoteListでも最上位クラスである。
http://www.redmine.org/boards/1/topics/54369
47件 #5358 Share Issues Categories for sub-projects
9件 #11898 Inheritable issue categories
戻る