Closed Bug 2066252 Opened 16 days ago Closed 6 days ago

Prevent save if keyword checkin-needed-tb exists without target milestone

Categories

(bugzilla.mozilla.org :: General, enhancement, P2)

Production
enhancement

Tracking

()

RESOLVED FIXED

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.

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

Severity: -- → S3
Keywords: bmo-triaged
Priority: -- → P2

Oh cool, thanks! Would that be something that my team could/should do, or are there folks who can whip it together quicker?

I got some help with this:
https://github.com/mozilla/bmo/pull/2733

Do I need to remove my patch from here somehow?

(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: nobody → dkl
Status: NEW → ASSIGNED
Attachment #9634152 - Attachment is obsolete: true

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

Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED

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.

Flags: needinfo?(dkl)

(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.

Flags: needinfo?(dkl)

Aha perfect, thanks. I'll be patient and check again next week!

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

Attachment

General

Created:
Updated:
Size: