Feature #26370

Get time entries for a specific issue

Added by César Lizurey 4 months ago. Updated 3 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Invalid

Description

For the moment, you have to make 2 different calls (time tracking API and issues API) to gather the time entries for a specific issue.
Could it be possible to get the time entries for a specific issue with one or both these methods:
  • directly in issues/[ISSUE NUMBER].json, in the key "time_entries" (new key of the JSON)
  • in a new REST call, for example time_entries/issue/[ISSUE NUMBER].json, what would send back just the time entries and not the whole issue info.

Thank you! :)

History

#1 Updated by Mischa The Evil 4 months ago

  • Status changed from New to Needs feedback

César Lizurey wrote:

For the moment, you have to make 2 different calls (time tracking API and issues API) to gather the time entries for a specific issue.

I don't think that's true. You can already retrieve the time entries of a specific issue with just one request: /time_entries.[format]?issue_id=~ID.

#2 Updated by César Lizurey 3 months ago

You're actually right.
My feature request can be closed and next time I'll think a bit more before posting!
Thank you, Mischa.

#3 Updated by Mischa The Evil 3 months ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Also available in: Atom PDF