Feature #22452
Add ability to display last note on issue query
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Issues filter | |||
Target version: | - | |||
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
History
#1
Updated by Toshi MARUYAMA about 6 years ago
- Category changed from UI to Issues filter
#2
Updated by @ go2null almost 6 years 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 almost 6 years ago
related to #1474
Our company could also greatly profit from this additional query functionality.
#4
Updated by Sebastian Paluch almost 6 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...
#5
Updated by Toshi MARUYAMA almost 6 years ago
- Related to Feature #1474: Show last comment/notes in the issue list added
#6
Updated by Go MAEDA over 5 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Implemented by #1474 for upcoming Redmine 3.4.0.