There is no ability to get "Ready Time" for pull request via Open API #12497

Closed
opened 2025-11-02 10:11:45 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @acherkashin on GitHub (Feb 18, 2024).

Feature Description

Hi,

Thank you for your work, guys!

I'm trying to build some charts to determine our bottlenecks in the code review process.
I need to determine when pull request switched from "WIP" to "Ready to Review" state.

I reviewed all available methods in swagger, however I didn't find how I can find that. I was looking for API to get the following (see SS) event when user changes title.

Pasted_Image_18_02_2024__15_24

It is how I did in Gitlab, in gitlab's merge requests I could get all its notes (system and users ones) and find a note with text "marked this merge request as ready".

Screenshots

No response

Originally created by @acherkashin on GitHub (Feb 18, 2024). ### Feature Description Hi, Thank you for your work, guys! I'm trying to build some charts to determine our bottlenecks in the code review process. I need to determine when pull request switched from "WIP" to "Ready to Review" state. I reviewed all available methods in swagger, however I didn't find how I can find that. I was looking for API to get the following (see SS) event when user changes title. <img width="828" alt="Pasted_Image_18_02_2024__15_24" src="https://github.com/go-gitea/gitea/assets/9947582/8a021e13-8e61-4e8a-9aa4-fd3dc8e6476f"> It is how I did in Gitlab, in gitlab's merge requests I could get all its notes (system and users ones) and find a note with text "marked this merge request as ready". ### Screenshots _No response_
GiteaMirror added the type/proposalissue/needs-feedback labels 2025-11-02 10:11:45 -06:00
Author
Owner

@delvh commented on GitHub (Feb 18, 2024):

GET /repos/{owner}/{repo}/issues/{index}/timeline

@delvh commented on GitHub (Feb 18, 2024): [GET /repos/{owner}/{repo}/issues/{index}/timeline](https://gitea.com/api/swagger#/issue/issueGetCommentsAndTimeline)
Author
Owner

@acherkashin commented on GitHub (Feb 18, 2024):

@delvh It solves my problem, thank you 🙏

@acherkashin commented on GitHub (Feb 18, 2024): @delvh It solves my problem, thank you 🙏
Author
Owner

@github-actions[bot] commented on GitHub (Feb 29, 2024):

Automatically locked because of our CONTRIBUTING guidelines

@github-actions[bot] commented on GitHub (Feb 29, 2024): Automatically locked because of our [CONTRIBUTING guidelines](https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md#issue-locking)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12497