plane icon indicating copy to clipboard operation
plane copied to clipboard

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

Open mmospanenko opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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

mmospanenko avatar Jul 23 '24 21:07 mmospanenko

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?

NarayanBavisetti avatar Jul 25 '24 07:07 NarayanBavisetti

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)

mmospanenko avatar Jul 25 '24 11:07 mmospanenko

Image

@mmospanenko you can use expand=estimate_point in the query to get the value of the estimate point.

NarayanBavisetti avatar Jul 03 '25 10:07 NarayanBavisetti