Page MenuHomePhabricator

Create Core Platform Team Herald rules
Closed, ResolvedPublic

Description

Please add the following two global Herald rules:

When all of these conditions are met:
Project tags include Core Platform Team
Project tags do not include Core Platform Team Kanban
Take these actions every time this rule matches: Add projects: Core Platform Team Kanban

When all of these conditions are met:
Project tags include Core Platform Team Kanban
Project tags do not include Core Platform Team
Take these actions every time this rule matches: Add projects: Core Platform Team

Event Timeline

@Krenair Thanks for tagging! I meant to do that . . .

Is there a reason why Platform Team Workboards was not made a subproject of Platform Engineering?
My understanding is that no Herald rules would be needed at all.

(On an unrelated note, also see https://www.mediawiki.org/wiki/Phabricator/Project_management#Types_of_Projects about types of projects and their colors.)

We need each task to be in both projects in a different workboard column in each, since one project represents the current status of the task and the other represents the CPT goal or program it is associated with. I don't think that it is possible to be on two separate workboards with subprojects, but please correct me if I am wrong. For example, see https://phabricator.wikimedia.org/T205808, which is in both Core Platform Team (MCR: Deployment) and Core Platform Team Kanban (Current).

Aklapper claimed this task.
Aklapper moved this task from To Triage to Herald rules on the Phabricator board.

Ah, makes sense! (Sorry, I obviously did not read closely enough.) Thanks.
Created H299 and H300.

Unfortunately, this rule is not working exactly as I had hoped. If a task is on a milestone workboard of one of the two projects, it is not considered to be tagged with the project. So, for example, it moved T196087 from Core Platform Team (MCR: Tech Debt) to Core Platform Team (the task was tagged with Core Platform Team Kanban, but it didn't consider the task to be tagged with Core Platform Team, so it tagged it, which as a side effect removed it from the milestone workboard). Is there a way to express that the task is tagged with a project or any of its subprojects?

@CCicalese_WMF: Probably not 'automagically' possible until T144041 is resolved. We could probably add subprojects/milestones manually/explicitly to those rules (but that'll become a bit cumbersome if you regularly create new subprojects/milestone)? :-/

Oh, bummer. Yeah, adding the milestones explicitly whenever they get created would be quite cumbersome. Could you please disable or delete the two rules you created for now. Hopefully this will be possible at some point in the future. Thanks!

Aklapper changed the task status from Open to Stalled.Oct 3 2018, 2:42 PM

Both rules archived. Can be re-enabled again later.

Aklapper claimed this task.

Assuming this is resolved