Vote #65153
完了Filter on issue relations
0%
説明
It'd be nice if Redmine's issue filters included some notion of issue relations. That way you could build a query like so:
- Status is open
- Assigned to me
- Start is less than 0 days ago
- Has no blocking issues
- Has no preceeding issues
Doesn't look trivial, but shouldn't be too difficult. Looking into it now...
journals
Attached is a work in progress. Shouldn't too difficult to attach the necessary filters. The only concern I have is that when looking for blocking issues, we want generally want open blocking issues. That's a fair number of subselect statements to get working. Could be unrealistically inefficient. :(
--------------------------------------------------------------------------------
Second prototype. Doesn't allow the selection of how many just yet (currently hardcoded to 1 or more), but it's working.
--------------------------------------------------------------------------------
Okay, this seems to work and I'm happy with it. Could someone else take a look and provide feedback as necessary?
--------------------------------------------------------------------------------
Brad Beattie wrote:
> Okay, this seems to work and I'm happy with it. Could someone else take a look and provide feedback as necessary?
Eep. Obviously the .project file wasn't meant to be included.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I tested the current implementation. Seems to work as expected. Maybe this one could be closed. :-)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,10422,Ability to filter by and view columns relating to Related Issues/Subtasks
relates,Closed,32546,Issue relations filter lacks "is not"
relates,New,33352,Enable inline issue autocomplete in issue id query filter fields
duplicates,Closed,2954,Ability to filter out duplicate issues
duplicates,Closed,4985,Filter issues which are blocked
duplicates,Closed,2955,Filter for blocked issues
duplicates,Closed,7805,Filter issues by relation type
duplicates,Closed,4561,Allow filter to hide/show tasks which are blocked by other tasks