プロジェクト

全般

プロフィール

Vote #66556

完了

Version sharing - not available in "All Issues Report"

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

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

0%

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

説明

Shared "System" versions are not available in Filters on http://redmine/issues

It is therefore not possible to filter and sort.

They should be there.


journals

Fixed in r3409.
--------------------------------------------------------------------------------
The r3409 is fine. However it creates version names, that contain the name of project you were creating the version in. This is fine in normal shared versions, however "system" versions are not tiet to particular project. So the project you were in, should NOT be displayed. And there is no way to create system version that is not tied to project.

The solution is in my opinion simple. system versions should not display project at all, just display "Global - <version_name>". I suggested this fix in #4728 as well.

Just remember - system versions are meant for whole redmine installation, so should not bear the project name, which is misleading.

Patch for @format_version_name(version)@ attached.

For r3409 the patch will be changing line 215 in source:trunk/app/models/query.rb@3409#L215 like this:

<pre>
- @available_filters["fixed_version_id"] = { :type => :list_optional, :order => 7, :values => system_shared_versions.sort.collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s] } }
+ @available_filters["fixed_version_id"] = { :type => :list_optional, :order => 7, :values => system_shared_versions.sort.collect{|s| ["Global - #{s.name}", s.id.to_s] } }
</pre>

--------------------------------------------------------------------------------
> This is fine in normal shared versions, however "system" versions are not tiet to particular project.

System shared versions *are* tied to a project and you can share system versions from different projects.
So having the project name makes sense.

For your need, you can name your project with your system versions "Global" as a workaround.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,4559,Add a version filter to the global issues view

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

  • カテゴリIssues_2 にセット
  • 対象バージョン0.9.3_17 にセット

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

いいね!0
いいね!0