-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Exposing TimeEstimate field in the API #35475
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
Conversation
Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]>
Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]> Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]>
365dd5a
to
05d779d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR exposes the TimeEstimate field in the API by adding it to issue API endpoints and webhooks to address missing time estimate data in API responses.
Key changes:
- Add TimeEstimate field to the Issue struct in API response format
- Include TimeEstimate in issue conversion logic for API serialization
- Update OpenAPI/Swagger documentation to reflect the new field
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
modules/structs/issue.go | Add TimeEstimate field to Issue struct for API responses |
services/convert/issue.go | Include TimeEstimate field in issue-to-API conversion |
templates/swagger/v1_json.tmpl | Add TimeEstimate field to OpenAPI schema definition |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
* giteaofficial/main: Clean up npm dependencies (go-gitea#35508) Correctly override user unitmodes (go-gitea#35501) [skip ci] Updated translations via Crowdin Enable more markdown paste features in textarea editor (go-gitea#35494) Move git command to git/gitcmd (go-gitea#35483) Exposing TimeEstimate field in the API (go-gitea#35475) Clean up npm dependencies (go-gitea#35484)
Time Estimate field is not included in the issue modification webhooks or issue API endpoints.
This PR fixes the field for the API.