makeplane / plane

🔥 🔥 🔥 Open Source JIRA, Linear, Monday, and Asana Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
http://plane.so
GNU Affero General Public License v3.0
30.24k stars 1.68k forks source link

[bug]: Estimate points don't return by API #5213

Open mmospanenko opened 3 months ago

mmospanenko commented 3 months ago

Is there an existing issue for this?

Current behavior

https://my.app/api/v1/workspaces/proj_slug/projects/proj_id/issues/issue_id/ returns wrong Estimate Point data.

'point' is null, but value is set.

Also there is not 'links' value in the response.

I use token for auth

Steps to reproduce

  1. create issue with Point
  2. get this issue via api

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

0.22

NarayanBavisetti commented 3 months ago

Hey @mmospanenko , we recently updated our estimation system and now use a field called estimate_point to store the ID of the estimate point. Currently, we don't have an external API to list the estimates, but we plan to add one in the future. would love to know your use case for what you use estimates for?

mmospanenko commented 3 months ago

yes, this is about new version. There is a 'point' property, it should ve value (number). I use it for syncing PM data with BI systems for analytics, so I need to get ETA in hours in any way. Yes, there is a estimate_point (FK on estimate object) and also I see point, that contains its value number (we use it as hours). And the issue is that this point is null sometimes when we have selected Estimate.

Will be great to have more usable ETA system (Expected, Estimated, Spent, Extra hours), but now its ok, just fix fill be great, I know you're working on refactoring this.

Thanks)