Feature #20800

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

Added by 邵 岸 almost 3 years ago. Updated 4 months ago.

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

0%

Category:REST API
Target version:-
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.

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

History

#1 Updated by Francesco Abeni 4 months 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.

Also available in: Atom PDF