QA #241
未完了カテゴリをサブプロジェクトで継承利用したい(バージョン同様)
説明
■現象/要望¶
カテゴリをサブプロジェクトで継承利用したい(バージョン同様)
(例)システムの利用部署単位に案件管理したい場合、利用部署のサブプロジェクトを作成し、カテゴリで案件を分類するのが自然。
この形態なら、利用部署毎/全体のカテゴリ単位集計も容易。
しかし、カテゴリのサブプロジェクト継承が行えないため、上記運用が行えない。
また、グローバルなカテゴリ定義の要望も出ている。
■解決策¶
カテゴリに既存のバージョンと同一機能があれば解決できる。
(サブPJ継承機能がバージョンのみに実装された理由は不明)
■対応状況¶
本家11898に、2.6用のパッチはあるが、3.Xでは動作しない。
3.4、4.Xへのパッチを以下に作成したが、網羅的なテスト/テストコード作成は行っていないため、現時点では本家に取込まれていない。
しかし、非常に要望の多い機能であり、新バージョンの目玉にもなることから、条件が整えば標準取込みされる可能性がある。(希望的観測)
Redmine3.4への対応¶
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
Redmine4.Xへの対応¶
Redmineのtrunk(4.1の前身)にパッチ作成し一応動作した。(2019/6/30)
少し様子見てから本家持っていく積り。
https://github.com/y503unavailable/redmine/tree/feature-category-trunk20190629
CentOS7用Ansible
https://github.com/y503unavailable/redmine-centos-ansible/tree/feature-category-trunk20190629
■補足¶
本家関連チケット
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