Project

General

Profile

Actions

Feature #22452

closed

Add ability to display last note on issue query

Added by Sebastian Paluch over 8 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
Resolution:
Duplicate

Description

It would be very useful to display last issue note in the issue query just like it is possible for description.


Related issues

Related to Redmine - Feature #1474: Show last comment/notes in the issue listClosedJean-Philippe Lang2008-06-16

Actions
Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Category changed from UI to Issues filter
Actions #2

Updated by @ go2null over 8 years ago

We use a "Last note" custom field and a custom workflow.

If required, we could possibly break it out into a plugin.

Actions #3

Updated by Anonymous over 8 years ago

related to #1474

Our company could also greatly profit from this additional query functionality.

Actions #4

Updated by Sebastian Paluch over 8 years ago

This is how I solved it locally:

added to the issue:

      def last_note
       if !journals || !(journal = journals.where("notes <> ''").last)
         @last_note ||= "" 
       else
         @last_note ||= journal.notes
       end

added to issue_query:

            available_columns << QueryColumn.new(:last_note,
              :caption => :field_notes_last,
              :totalable => false,
              :inline => false
            ) unless columns.detect{ |c| c.name == :last_note } 


but this does not check for security, private notes, etc.
sorry for not providing as a patch...

Actions #5

Updated by Toshi MARUYAMA over 8 years ago

  • Related to Feature #1474: Show last comment/notes in the issue list added
Actions #6

Updated by Go MAEDA almost 8 years ago

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

Implemented by #1474 for upcoming Redmine 3.4.0.

Actions

Also available in: Atom PDF