Automate the degradation of health status on labelled issues
Summary
Plan team will use health status to report on the progress of Deliverable issues in each milestone.
This is currently a manual operation, and there will continue to be a manual element as the assignee is the DRI for keeping it up to date. However, it would be helpful if Health Status would automatically degrade on issues in accordance with the likelihood that they will make the milestone. For example, if they don't have an assignee halfway through the milestone or they are still in development late in the milestone.
Proposal
Create a new label, such as ~"Track health status" that can be applied to issues during planning along with Deliverable, or applied selectively as preferred.
A new automation that leaves a comment and updates the /health_status
according to a set of rules (listed below). The automation operates on any issue with this label and a current milestone.
This allows anyone inside or outside devopsplan to opt an issue in or out.
Rules
- If the issue has no assignee by the 6th of the month, set
needs_attention
- If the issue has no assignee by the 14th of the month, set
at_risk
- If the issue is open but without the workflowin review or workflowverification labels after the 14th, set
at_risk
Notes
To ensure the automation is not obtrusive the list of rules should be relatively small to begin with. The automation should also try to take into account a recent update to the health status. In other words, don't repeatedly set the health status red when the assignee has just recently set it to green.