Bug 1150387 - [RFE] Allow resetting the hit count for Rules Engine rules
Summary: [RFE] Allow resetting the hit count for Rules Engine rules
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Internal Tools
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 4.4
Assignee: Matt Tyson 🤬
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-08 06:56 UTC by Simon Green
Modified: 2018-12-09 06:29 UTC (History)
5 users (show)

Fixed In Version: 4.4.6027
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-24 03:11:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Simon Green 2014-10-08 06:56:44 UTC
Description of problem:
There should be a way to reset the hit count, or show the number of hits since the last rule change.

Version-Release number of selected component (if applicable):
4.4.5025

How reproducible:
always

Steps to Reproduce:
1. Change a rule
2. Look at the Rules Engine main page

Actual results:
You can only see the number of hits per rule

Expected results:
There should be way to see if a change to a rule is hitting bugs since it changed.

Comment 3 Matt Tyson 🤬 2014-10-24 03:14:05 UTC
After a discussion with Jason what we decided on doing was creating two hit counter columns.

Hits total.
Hits since last change.

Comment 4 Jason McDonald 2014-10-30 11:47:16 UTC
(In reply to Simon Green from comment #0)
> Description of problem:
> There should be a way to reset the hit count, or show the number of hits
> since the last rule change.

@Ludek: For the moment, we have chosen to implement the latter option.  If you would like us to provide a way to reset the hit count on demand independently of editing a rule, please file an additional RFE.

Comment 5 Rony Gong 🔥 2014-11-06 05:25:57 UTC
Verified on QA environment(bzweb01-qe) with version(4.4.6027-2)
Result: Pass
Steps:
1. Check the default value of field "Since Change" is 0 in rule engine main page
2. Update a rule rule_1 and let it could hit 10 bugs, check the "Since Change" changed to 10.
3. Create a bug that could match rule rule_1, check the "Since Change" changed to 11.
4. Update rule_1 to let it could match 5 bugs(add this 5 bugs to queue), check the  "Since Change" changed to 5. 
5. Create a bug that could match the updated rule_1, check the "Since Change" changed to 6.


Note You need to log in before you can comment on or make changes to this bug.