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.
Description
It would be very useful to display last issue note in the issue query just like it is possible for description.
- Category changed from UI to Issues filter
We use a "Last note" custom field and a custom workflow.
If required, we could possibly break it out into a plugin.
related to #1474
Our company could also greatly profit from this additional query functionality.
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...
- Related to Feature #1474: Show last comment/notes in the issue list added
- Status changed from New to Closed
- Resolution set to Duplicate
Implemented by #1474 for upcoming Redmine 3.4.0.
Also available in: Atom
PDF