Project

General

Profile

Actions

Feature #26370

closed

Get time entries for a specific issue

Added by César DJ Caësar 9114 over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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! :)

Actions #1

Updated by Mischa The Evil over 7 years 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.

Actions #2

Updated by César DJ Caësar 9114 over 7 years 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.

Actions #3

Updated by Mischa The Evil over 7 years ago

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

Also available in: Atom PDF