Project

General

Profile

Actions

Feature #20800

open

Add "issue name" when listing time_entrise or getting a time_entry by REST API

Added by 邵 岸 about 9 years ago. Updated over 5 years ago.

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

0%

Estimated time:
Resolution:

Description

when listing time_entries or getting a time_entry by REST API, the issue name won't show.

for example:

GET /time_entries.xml

<time_entry>
<id>4</id>
<project id="3" name="project"/>
<issue id="4"/>
<user id="127" name="username"/>
<activity id="9" name="design"/>
<hours>1.0</hours>
<comments>none</comments>
<spent_on>2015-09-22</spent_on>
<created_on>2015-09-22T01:40:26Z</created_on>
<updated_on>2015-09-22T01:40:26Z</updated_on>
</time_entry>

It would be nice to add the issue name in REST API, in this way, we needn't call another API to get the issue name.


Files

issueName.patch (830 Bytes) issueName.patch Francesco Abeni, 2018-03-05 11:52
Actions #1

Updated by Francesco Abeni over 6 years ago

The attached patch adds issue subject to time_entries index.

Tested on Redmine 3.2 but it should be ok on 3.3 and 3.4 as well.

Actions #2

Updated by Maxim Krušina over 5 years ago

Plz can we merge it into stable?

Actions

Also available in: Atom PDF