claudijd / bugzilla-scripts

A collection of scripts to query bugzilla
0 stars 0 forks source link

Add alerting for bugs that do not contain relevant white-board content. #2

Open claudijd opened 6 years ago

claudijd commented 6 years ago

/cc @caggle this is merely so we don't let bugs in the VA/PT components or relevant dependancies in the case of automation bugs in other components fall into disrepair.

caggle commented 6 years ago

Again, fell off my radar :( @claudijd - So, should we go through all VA/PT bugs (parent ones) and if whiteboard content is empty, maybe email us or put a need-info flag on the bug for the assignee of the bug?

caggle commented 6 years ago

Looks like bugsy does not support updating the whiteboard section of a bug :-/ BMO apparently has a REST API, which does support updating parts of a bug (including whiteboard); however we may either need to write a client from scratch to directly call it or update bugsy library to support this feature.

claudijd commented 6 years ago

To be clear, the intent of this issue was not to assign to you, but make you aware.

Actual behavior can be as simple as throwing an exception and noting the bug id/link when white-board isn't set, this will force the person trying to generate metrics to fix it up. Currently, it throws an exception, but an unhelpful one when trying to parse an empty or unexpected white-board content.

We could do a more fancy solution, but the above was all I was thinking.

caggle commented 6 years ago

Yeah, no worries, all good. I assigned it to myself :) I have a couple of ideas, should be pretty straightforward to implement. I have also found 2 other libraries that have seemingly have more features than bugsy - one of them is written by kang - We can look into using them for more complex stuff.

caggle commented 6 years ago

PR for this has been created: https://github.com/claudijd/bugzilla-scripts/pull/5