Open Bug 1543984 Opened 7 years ago Updated 3 years ago

Allow to search on last change date

Categories

(bugzilla.mozilla.org :: Search, enhancement)

Production
enhancement
Not set
normal

Tracking

()

People

(Reporter: calixte, Unassigned)

References

Details

Attachments

(2 files)

Right now we can search for a field which has been "changed after" or "changed before".
It'd be nice to be able to search on last change to be able to have an information on the current state of the bug.
So for example, we could have:
f1: component,
v1: last_changedbefore,
o1: -2w

and it will return bugs where the component has been changed at least 2 weeks ago but not changed after.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Attached image Custom Search

Apparently this can be done by using the “Not” checkbox like this.

Yeah I know this workaround.
But let me show you a query I wrote to get bugs where product/component have changed between second and first (or not changed but created between second and first):
{
...
'j3': 'OR',
'f3': 'OP',
'j4': 'AND',
'f4': 'OP',
'n5': 1, # we use a negation here to be sure that no change after first
'f5': 'product',
'o5': 'changedafter',
'v5': first,
'f6': 'product', # here the bug has changed
'o6': 'changedafter',
'v6': second,
'n7': 1,
'f7': 'component',
'o7': 'changedafter',
'v7': first,
'f8': 'CP',
'j9': 'AND',
'f9': 'OP',
'n10': 1,
'f10': 'component',
'o10': 'changedafter',
'v10': first,
'f11': 'component',
'o11': 'changedafter',
'v11': second,
'n12': 1,
'f12': 'product',
'o12': 'changedafter',
'v12': first,
'f13': 'CP',
'j14': 'AND',
'f14': 'OP',
'f15': 'creation_ts',
'o15': 'lessthaneq',
'v15': first,
'f16': 'creation_ts',
'o16': 'greaterthan',
'v16': second,
'n17': 1,
'f17': 'product',
'o17': 'changedafter',
'v17': '1970-01-01',
'n18': 1,
'f18': 'component',
'o18': 'changedafter',
'v18': '1970-01-01',
'f19': 'CP',
'f20': 'CP',
}

my goal is just to get bugs which have been "triaged" between second and first.

Attached image Custom Search 2

It look like this. I don’t fully understand the use case yet though.

The problem is the bug history is somewhat unreliable at this time. For example, products components are hardcoded as names, not as IDs, in the log. Even if this can be implemented, the “last changed” results might be wrong.

The use case is to get bugs (defects) which have been triaged between 4 and 2 weeks ago with no priority set.

Assignee: kohei.yoshino → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: