thoth-station / mi

an experiment on Source Operation Metrics
GNU General Public License v3.0
6 stars 10 forks source link

Can we fetch issues and their linked issues? #483

Open hemajv opened 3 years ago

hemajv commented 3 years ago

We are looking to fetch information related to issues and all other issues linked in them. (Related issue: https://github.com/AICoE/okr/issues/8)

For example, we would like to collect all the issues in the OKR repo and fetch all their linked KR issues and aggregate metrics such as percentage of KRs completed (i.e. percentage of items completed in the acceptance criteria checklist), percentage of OKR completed etc to help generate/automate an OKR report. Is it possible to use the MI scheduler for obtaining this data?

cc @xtuchyna

hemajv commented 3 years ago

Some fields we would like to capture for every issue (both the parent OKR issue and its respective linked issues):

@xtuchyna

codificat commented 3 years ago

/kind question (although this will likely turn into /kind feature I guess)

/assign @xtuchyna can you help clarify?

/triage needs-information

hemajv commented 3 years ago

@xtuchyna do we have any updates on this?

goern commented 2 years ago

ping

sesheta commented 2 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

harshad16 commented 2 years ago

/lifecycle frozen

VannTen commented 2 years ago

The Github Graphql API for issues does not appear to feature a list of linked issues, from what I can see (nor does the IssueComment). It does provide a list of trackedInIssues and trackedIssues, but not merely linked one.