-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create workflow to track time since a project item's status changed #198
Comments
As Ed discovered, this seems to be blocked on a bug in GitHub's GraphQL API:
Switching to an event-driven approach won't work either, as the only project-related events that can trigger workflows are for "classic" projects, not modern "v2" projects. Axim's workaround for now is described in https://discuss.openedx.org/t/pull-requests-review-delays/10497/26 . |
There is a workaround in https://github.com/orgs/community/discussions/49602#discussioncomment-6768032 which basically scrapes the status change timeline from each issue's HTML page. Hacky, but could work if we really want it before they get around to fixing the API bug. Might hit problems in longer-running issues where part of the issue history is collapsed until you click to load and display it. |
It's currently easy to lose track of items that we think someone should be working on, but have actually just been sitting idle for weeks without a clear party responsible for taking next steps. To make such cases easier to spot in GitHub Project boards, we'd like to add the ability to add an auto-populated field in a project's items displaying how long it has been since each one changed status. There's no built-in GitHub Projects feature for this, and I've had no luck finding an existing workflow in the GitHub marketplace for this, but it looks like it should be feasible to implement.
A/C:
I think the way to implement this is via the GraphQL API:
There are very similar events available via the REST API, although the documentation implies that these are only for "Classic" Projects, which were specific to individual repositories.
Useful references:
The text was updated successfully, but these errors were encountered: