Feature #22452

Add ability to display last note on issue query

Added by Sebastian Paluch almost 2 years ago. Updated about 1 year ago.

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


Category:Issues filter
Target version:-


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 list Closed 2008-06-16


#1 Updated by Toshi MARUYAMA almost 2 years ago

  • Category changed from UI to Issues filter

#2 Updated by @ go2null over 1 year ago

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

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

#3 Updated by JW Fuchs over 1 year ago

related to #1474

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

#4 Updated by Sebastian Paluch over 1 year ago

This is how I solved it locally:

added to the issue:

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

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...

#5 Updated by Toshi MARUYAMA over 1 year ago

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

#6 Updated by Go MAEDA about 1 year ago

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

Implemented by #1474 for upcoming Redmine 3.4.0.

Also available in: Atom PDF