Feature #14006

A shortcut to view all issues of all projects

Added by Ivan Yiu over 4 years ago. Updated 11 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

30%

Category:Issues
Target version:-
Resolution:Fixed

Description

From the topmost menu "Projects" -> "View all issues", we can retrieve all issue of all project. But after we go to a project by selecting from the "Jump to a project" pull down list, there is no way for the user to view all issue from all project.

Again, user need to click the topmost "Project" link first then select "View all issues".

Please kindly help to provide a shortcut, e.g. An "All Projects" options in the "Jump to a project" pull down list, or provide options in custom query to include all projects or a dedicate project.

add_shortcut_to_issues.diff Magnifier - Add a shortcut to the project issue page (2.67 KB) Daniel Felix, 2013-05-08 09:59

all-projects-link.png (27.1 KB) Go MAEDA, 2017-01-11 01:00


Related issues

Related to Redmine - Patch #14007: Patch for #14006 Closed
Related to Redmine - Defect #980: "For all projects" custom queries New 2008-04-03
Related to Redmine - Feature #5920: Unify and improve cross-project views layout Closed 2010-07-21
Related to Redmine - Feature #23310: Improved "jump to project" drop-down Closed
Duplicated by Redmine - Feature #11940: Add "view all projects' issues" link to issues sidebar Closed

History

#1 Updated by Daniel Felix over 4 years ago

Take a look at #14007.

#2 Updated by Daniel Felix over 4 years ago

Maybe you can give some feedback if this would solve your request.

#3 Updated by Ivan Yiu over 4 years ago

i am new to REDMINE. Could you please provide more details how to use the diff file.

#4 Updated by Terence Mill over 4 years ago

+1

#5 Updated by Jean-Baptiste Barth over 4 years ago

That's why I personnally did on my instance at work, but I think it can be confusing for people with one or few projects. I already saw people who are not familiar with redmine, they're completely lost about those scoping issues. Jean-Philippe proposed an other approach in #5920 (second screenshot). Maybe a mitigation should be to display this link only if the user as more than 2 projects ?

#6 Updated by Ivan Yiu over 4 years ago

Hi Jean,

Does the #5920 patch applicable to the new Redmine 2.3.0 ?

Thanks.

#7 Updated by Ivan Yiu over 4 years ago

Dear Daniel,

I apply the patch file on Redmine 2.3.0 but failed.

$>patch -p0 < add_shortcut_to_issues.diff
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| app/views/issues/_sidebar.html.erb | 9 ++++++---
| config/locales/de.yml              | 1 +
| config/locales/en-GB.yml           | 1 +
| config/locales/en.yml              | 1 +
| 4 files changed, 9 insertions(+), 3 deletions(-)
|
|diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb
|index dbf1918..a52ea3f 100644
|--- a/app/views/issues/_sidebar.html.erb
|+++ b/app/views/issues/_sidebar.html.erb
--------------------------

#8 Updated by Jean-Baptiste Barth over 4 years ago

I don't advice you apply patches blindly, try to discuss the feature and then we'll see. Btw, the patch should be applied with -p1, not -p0. And maybe there are extra lines at the top (the first 6 ones) that should be removed, not sure.

#9 Updated by Ivan Yiu over 4 years ago

Jean-Baptiste Barth wrote:

I don't advice you apply patches blindly, try to discuss the feature and then we'll see. Btw, the patch should be applied with -p1, not -p0. And maybe there are extra lines at the top (the first 6 ones) that should be removed, not sure.

Thanks Jean, I just follow the wiki page [[http://www.redmine.org/projects/redmine/wiki/Patch]] to apply the patch.

I've update the wiki page already, hope this can help other user too.

#10 Updated by Ivan Yiu over 4 years ago

Still fail .... I really don't know what's happening.

patch -p1 < add_shortcut_to_issues.diff
patching file app/views/issues/_sidebar.html.erb
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file app/views/issues/_sidebar.html.erb.rej
patching file config/locales/de.yml
Hunk #1 succeeded at 644 (offset -1 lines).
patching file config/locales/en-GB.yml
patching file config/locales/en.yml
Hunk #1 succeeded at 549 (offset -1 lines).
root@scmpms:/opt/redmine-2.3.0-0/apps/redmine/htdocs>view app/views/issues/_sidebar.html.erb.rej

#11 Updated by Daniel Felix over 4 years ago

Hi,

try it manualy.

Just add these lines
<% if User.current.allowed_to?(:view_issues, nil, :global => true) %>
<li><%= link_to(l(:label_overall_issues), issues_path) %></li>
<% end %>

beneath this line
<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>

in source:trunk/app/views/issues/_sidebar.html.erb

And add these line to your en.yml:
label_overall_issues: Overall issues

Just regardless in which line. But be sure there will be two spaces in front of it.

You'll find them in source:/trunk/config/locales/en.yml

Best regards,
Daniel

#12 Updated by Ivan Yiu over 4 years ago

  • Status changed from New to Resolved

It's working. When user is in the scope of a specific project, the "Overall issues" link is available to bring the user back to "All Projects" scope.

Thanks.

#13 Updated by Toshi MARUYAMA over 4 years ago

  • Status changed from Resolved to New
  • % Done changed from 0 to 30

Not yet committed, so change status to "New".

#14 Updated by Daniel Felix over 4 years ago

Hi there,

any news on this patch?

Best regards,
Daniel

#15 Updated by Go MAEDA almost 3 years ago

  • Duplicated by Feature #11940: Add "view all projects' issues" link to issues sidebar added

#16 Updated by Go MAEDA almost 3 years ago

  • Related to Defect #980: "For all projects" custom queries added

#17 Updated by Go MAEDA almost 2 years ago

  • Related to Feature #5920: Unify and improve cross-project views layout added

#18 Updated by Go MAEDA 11 months ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Implemented in r16172 as a part of #23310.
It will be available in upcoming 3.4.0.

#19 Updated by Go MAEDA 11 months ago

#20 Updated by Go MAEDA 11 months ago

  • Related to Feature #23310: Improved "jump to project" drop-down added

Also available in: Atom PDF