Project

General

Profile

Actions

Feature #14006

closed

A shortcut to view all issues of all projects

Added by Ivan Yiu almost 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

30%

Estimated time:
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.


Files

add_shortcut_to_issues.diff (2.67 KB) add_shortcut_to_issues.diff Add a shortcut to the project issue page Daniel Felix, 2013-05-08 09:59
all-projects-link.png (27.1 KB) all-projects-link.png Go MAEDA, 2017-01-11 01:00

Related issues

Related to Redmine - Patch #14007: Patch for #14006Closed

Actions
Related to Redmine - Defect #980: "For all projects" custom queriesNew2008-04-03

Actions
Related to Redmine - Feature #5920: Unify and improve cross-project views layoutClosedJean-Philippe Lang2010-07-21

Actions
Related to Redmine - Feature #23310: Improved "jump to project" drop-downClosedJean-Philippe Lang

Actions
Has duplicate Redmine - Feature #11940: Add "view all projects' issues" link to issues sidebarClosed

Actions
Actions #1

Updated by Daniel Felix almost 11 years ago

Take a look at #14007.

Actions #2

Updated by Daniel Felix almost 11 years ago

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

Actions #3

Updated by Ivan Yiu almost 11 years ago

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

Actions #4

Updated by Terence Mill almost 11 years ago

+1

Actions #5

Updated by Jean-Baptiste Barth almost 11 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 ?

Actions #6

Updated by Ivan Yiu almost 11 years ago

Hi Jean,

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

Thanks.

Actions #7

Updated by Ivan Yiu almost 11 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
--------------------------
Actions #8

Updated by Jean-Baptiste Barth almost 11 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.

Actions #9

Updated by Ivan Yiu almost 11 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.

Actions #10

Updated by Ivan Yiu almost 11 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

Actions #11

Updated by Daniel Felix almost 11 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

Actions #12

Updated by Ivan Yiu almost 11 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.

Actions #13

Updated by Toshi MARUYAMA almost 11 years ago

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

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

Actions #14

Updated by Daniel Felix over 10 years ago

Hi there,

any news on this patch?

Best regards,
Daniel

Actions #15

Updated by Go MAEDA over 9 years ago

  • Has duplicate Feature #11940: Add "view all projects' issues" link to issues sidebar added
Actions #16

Updated by Go MAEDA over 9 years ago

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

Updated by Go MAEDA over 8 years ago

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

Updated by Go MAEDA over 7 years 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.

Actions #20

Updated by Go MAEDA over 7 years ago

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

Also available in: Atom PDF