Prevent save if keyword checkin-needed-tb exists without target milestone
Categories
(bugzilla.mozilla.org :: General, enhancement, P2)
Tracking
()
People
(Reporter: tobyp, Assigned: dkl)
Details
(Keywords: bmo-triaged)
Attachments
(1 file, 1 obsolete file)
Thunderbird has no sheriff automation that allows us to easily set Metadata on bugs when they land.
Could we please add some validation rule that prevents save if the checkin-needed-tb keyword is added without a target milestone being selected? Can be just within Thunderbird, mailnewscore and calendar.
| Assignee | ||
Comment 1•15 days ago
|
||
It is possible to do as we have some other similar special rules that block certain actions https://github.com/mozilla/bmo/tree/master/extensions/MozChangeField/lib/Pre. We would just create another module there specific to bugs in the Thunderbird, etc. product
| Reporter | ||
Comment 2•14 days ago
|
||
Oh cool, thanks! Would that be something that my team could/should do, or are there folks who can whip it together quicker?
Comment 3•8 days ago
|
||
| Reporter | ||
Comment 4•8 days ago
|
||
I got some help with this:
https://github.com/mozilla/bmo/pull/2733
Comment 5•8 days ago
|
||
| Reporter | ||
Comment 6•7 days ago
|
||
Do I need to remove my patch from here somehow?
| Assignee | ||
Comment 7•7 days ago
|
||
(In reply to Toby Pilling [:tobyp] from comment #6)
Do I need to remove my patch from here somehow?
We can just obsolete it. No problem.
| Assignee | ||
Updated•7 days ago
|
| Assignee | ||
Updated•7 days ago
|
Comment 8•6 days ago
|
||
Authored by https://github.com/dklawren
https://github.com/mozilla/bmo/commit/5bd9270a330885fc75c5525bdca016f4431208a4
[master] Bug 2066252 - Prevent save if keyword checkin-needed-tb exists without target milestone
| Reporter | ||
Comment 9•6 days ago
|
||
Hi David,
Will this kick in immediately? I tested it with Bug 2058531 but it didn't seem to prevent me from saving without a target milestone.
| Assignee | ||
Comment 10•6 days ago
|
||
(In reply to Toby Pilling [:tobyp] from comment #9)
Hi David,
Will this kick in immediately? I tested it with Bug 2058531 but it didn't seem to prevent me from saving without a target milestone.
Not yet. It has just been merged to master. We still need to do a deployment for the change to show up in prod. Hopefully today, but if not then first of next week.
| Reporter | ||
Comment 11•6 days ago
|
||
Aha perfect, thanks. I'll be patient and check again next week!
Description
•