Defect #5385

All issue statuses shown when creating status filter

Added by Bo Hansen about 2 years ago. Updated over 1 year ago.

Status:New Start date:2010-04-26
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Issues
Target version:-
Affected version:0.9.3 Resolution:

Description

Using 0.9.3 I define a project to use only an issue tracker without the usual "new, assigned, ..." issue statuses. However when I create a filter on the issue status field I'm still presented with a list of both my new statuses but also the usual ones.

Thanks for a great project!

Best regards,
Bo

Ruby version              1.8.7 (i686-linux)
RubyGems version          1.3.1
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Edge Rails revision       unknown
Application root          /home/redmine/redmine-0.9.3
Environment               development
Database adapter          mysql
Database schema version   0

About your Redmine plugins
Stuff To Do Plugin        0.4.0
Redmine Question plugin   0.3.0
Timesheet Plugin          0.6.0

redmine_issue-status.jpg - Issue status filter showing possible statuses for all trackers (13.6 kB) Bo Hansen, 2010-04-28 08:57

redmine_workflow.jpg - Workflow administration - showing the statuses in use by the tracker Order (43 kB) Bo Hansen, 2010-04-28 08:57

issue_statuses_filter_fix.diff - Applies to 0.9.3 (1.3 kB) Magnifier Bo Hansen, 2010-04-30 11:31


Related issues

duplicated by Feature #10643: Only allowes status Closed

History

#1 Updated by Thomas Pihl about 2 years ago

Could you attach screenshots of Administration - Statuses and the Filter page with statuses dropdown open?

#2 Updated by Thomas Pihl about 2 years ago

Reread our defect report. I don't think this is a defect. If those statuses are defined in the system they should be possible to filter on. This is because you may save an filter that finds issues in all projects (or all subprojects).

I think this is as it is intended.

#3 Updated by Bo Hansen about 2 years ago

Still if you are creating a filter while standing in a subproject I think it would be cleaner if only the issue statuses of the available trackers for this particular project. Especially if you have users only having access to this particular project. Then it would be nice if they are not bothered with a bunch of issue statuses they never use.
I understand about the global filters. In that case it should definitely show all issue statuses.

#4 Updated by Thomas Pihl about 2 years ago

May i suggest a change to Feature Request on this one, since i agree that it would be nice.

#5 Updated by Bo Hansen about 2 years ago

Turned out that Query.rb already selects trackers available per project and subprojects. The attached patch utilizes this information and thus the global filtering issue is also taken care of.

#6 Updated by Bob Bottle over 1 year ago

Are there any plans to include this patch in a future release?

Also available in: Atom PDF