thoth-station / mi

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

Tracking comments for an issue : Issue Assignees, Linked Project board Info. #589

Open suppathak opened 2 years ago

suppathak commented 2 years ago

Problem statement

Tracking comments for an issue : Issue Assignees, Linked Project board info.

High-level Goals

In order to build a community around thoth guidance service. I want to get an idea about community by visualizing metrics like number of assignees, if the issue is linked to any project board or not, etc for thoth-station support repo.

Proposal description

I want to use srcopsmetrics in order to extract the comment level activity for an issue.

Acceptance Criteria

Able to track metrics like:

xtuchyna commented 2 years ago

Hello @suppathak , thanks for creating Issue!

PR is on the way, it could also help if you could specify Linked project board info. in more detail. I suppose you want these metadata:

Is there something else that should be included? Use GH documentation as a reference and please let us know! :)

suppathak commented 2 years ago
  • project url
  • Issue's column name inside the project board

Hey @xtuchyna ,

Yes I want these two metadata related to the project board linked to issue. Thanks :)

xtuchyna commented 2 years ago

Hey @suppathak , for which repositories are you going to extract the project-related information? Is it just thoth-station ?

suppathak commented 2 years ago

Hey @suppathak , for which repositories are you going to extract the project-related information? Is it just thoth-station ?

Hey @xtuchyna. Yes! I am planning to extract these metrics for thoth-station/support repo. Thanks!

xtuchyna commented 2 years ago

Hey @suppathak , project event details cannot be still retrieved, even after enabling projects thru thoth-station/core That means you won't be able to use the feature on thoth-station/support and also that I cannot test the feature in #591 Please stay tuned in https://github.com/thoth-station/core/issues/419 to see updates on this matter

goern commented 2 years ago

/sig user-experience /kind feature

xtuchyna commented 2 years ago

So, in the end, there seems to be no way we can get this information by interacting with GH API (https://github.com/thoth-station/srcops-testing/issues/269 and other tests)

If we are still interested in this meta-information, it could be still scraped from web. WDYT @suppathak

VannTen commented 2 years ago

It seems to me reading the documentation (in particular, issue events added_to_project and removed_to_project) that this should be possible unless I misunderstood the issue

xtuchyna commented 1 year ago

It seems to me reading the documentation (in particular, issue events added_to_project and removed_to_project) that this should be possible unless I misunderstood the issue

of course, but if you look at my comments including this test issue, I had no success of obtaining it (in the end custom header for these particular events did not return any of the project related events)

xtuchyna commented 1 year ago

@VannTen once again tried to retrieve data, but this time with new token (that had project access enabled) but still no success

you can read all the setup details here https://github.com/thoth-station/srcops-testing/issues/271

xtuchyna commented 1 year ago

WDYT @goern is it still valuable to invest time in this?

xtuchyna commented 1 year ago

STATUS update: We had no success in retrieving the project related timeline events by using ordinary GH REST API (including Timeline events API). At the moment the deduction is that the newly created projects are only visible within the usage of GraphQL.

Therefore there remains one item left to try:

goern commented 1 year ago

feels to me like we should push it to the backlog?