Topic on Talk:Phabricator/Help

Jump to navigation Jump to search

"Wildcards" for Herald?

8
MBinder (WMF) (talkcontribs)

Is it possible to set a criteria in Herald that says "look for X project, and all Milestones thereof"?

For instance, a team wants to have weekly Milestones on their backlog, and they use a separate board for their Kanban. In a process in which all Kanban tasks need to be reflected on the backlog (in case, say, someone added a brand new task to the Kanban, but skipped the backlog triage process) for one-source-of-truth, Herald can look for those stragglers. Example: https://phabricator.wikimedia.org/H269

With Milestones, I'm under the impression that Phabricator treats each as its own project, so Herald has to be updated for each Milestone.

Example: https://phabricator.wikimedia.org/H246

Updating Herald for weekly Milestones isn't hard, but it's a little tedious, and it adds weakness to the process (e.g. the changes have to be requested; or, each change to the Herald is a risk in and of itself should a mistake occur). It would be useful to be able to tell Herald to look for subprojects of a project, to automate this.

AKlapper (WMF) (talkcontribs)
MBinder (WMF) (talkcontribs)

Naturally, I have already commented on, subscribed to, and flagged that ticket! I suppose it's just tradition at this point to forget and ask on a talk page, too... :)

AKlapper (WMF) (talkcontribs)

 :D

MBinder (WMF) (talkcontribs)

Unexpected thread bump: It seems to me that Milestones are inclusive now, when it was once necessary to add them explicitly to Heralds. For instance, in https://phabricator.wikimedia.org/H260, I did not add the "Q4" Milestone until a week after it was created and used, but Herald caused no problems (I used to see tasks get bumped out of those quarterly boards by Herald). Wildcarding might not yet be a feature, but can anyone confirm that Milestones of projects are automatically captured by Herald in the query criteria?

MBinder (WMF) (talkcontribs)
AKlapper (WMF) (talkcontribs)

@MBinder (WMF) T244804 had its last Herald activity two months ago, hence cannot look at its Herald transcript (already garbage collected). Do you have a more recent example?

MBinder (WMF) (talkcontribs)

Sorry I could have been clearer. Let me try that now:

The Herald has existed since October 2017. The most recent Kanban board is for 2019-20 Q4, and was created by me on 2020-03-31. I did not add it to the Herald until 2020-04-07, so presumably Herald should have removed tasks (such as T244804) that were added to the new board between 2020-03-31 and 2020-04-07, because the new board is a Milestone of the board that gets added by Herald, and those are mutually exclusive. In the case of T249259, that occurred on 2020-04-06 (https://phabricator.wikimedia.org/T249259#6033118). In the case of T244804, nothing happened (https://phabricator.wikimedia.org/T244804#6017043). Am I missing something?