プロジェクト

全般

プロフィール

Vote #72627

未完了

Don't show issues for closed projects in all issues list

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

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

0%

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

説明

Currently, in version 2.1.2, when you go to all projects, it lets you show closed projects.

When you look at all issues, it by default shows all issues in the project list, including closed projects.

Ideally we would have the same functionality in the all issues, to include issues from closed projects, but not by default.


journals

This is related to issues #4202 and #3640
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Here are the changes we made to get this to work
--------------------------------------------------------------------------------
I think it could be better to enable filtering by active or closed projects in the issues queries. Just as for the issue status filter criteria (status => open, status => closed).
Currently one have to select all the active projects to be able to hide all the closed ones.
--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------
Konstantin Tkachenko wrote:
> I think it could be better to enable filtering by active or closed projects in the issues queries. Just as for the issue status filter criteria (status => open, status => closed).
> Currently one have to select all the active projects to be able to hide all the closed ones.

+1
--------------------------------------------------------------------------------
+1 for an additional filter criteria
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I've posted in #20081 two patches that add the possibility to filter issues and time entries after project status.

Moreover, I've worked on a patch that adds the "Project's status" filter to issues and time entries list by default (in the same way as Status filter is added) in two cases:
* the context is global
* when the project has subprojects

!{width:70%;border: 1px solid grey;}project_status_filter.png!

What do you think?
--------------------------------------------------------------------------------
Committed the patch posted by Marius. Thanks.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Committed the patch posted by Marius. Thanks.

Sorry, I updated the wrong issue.
--------------------------------------------------------------------------------
Marius BALTEANU wrote:
> [...]
> * when the project has subprojects

This condition is not enough because if the project is disabled and it has suprojects, it will be odd to apply by default the Project’s status is active filter. Maybe it is better to keep the code simpler and apply the filter by default only in the global context.

Waiting for other opinions before posting the patches.
--------------------------------------------------------------------------------


related_issues

relates,New,21210,Issues and Spent Time of closed subprojects are included on the overview page, but are not included on the issues, gantt or spent time details/report pages
relates,Closed,20081,Filter issues and time entries by project status
duplicates,Closed,19462,Dont show Issues from closed projects

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

  • カテゴリIssues_2 にセット

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

いいね!0
いいね!0