Project

General

Profile

Actions

Feature #40449

closed

Add updated_on and updated_by fields to Issues API journal response

Added by Thomas Hoffmann 3 months ago. Updated about 1 month ago.

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

0%

Estimated time:
Resolution:

Description

We would like to synchronize the redmine issues with our internal system via API.
For this purpose, we fetch the issues with:

curl -H "X-Redmine-API-Key: secret" "https://domain.com/issues/58.json?include=children%2Cattachments%2Crelations%2Cchangesets%2Cjournals%2Cwatchers%2Callowed_statuses" -vv

The journal is returned but we can't determine, which entry changed.
Therefore, it would be helpful to not only have the created_on but also the updated_on field.

The file app/views/issues/show.api.rsb needs an extra line at line 61:

...
api.created_on journal.created_on
api.updated_on journal.updated_on
api.private_notes journal.private_notes
...


Files

40449.patch (1.36 KB) 40449.patch Go MAEDA, 2024-05-24 10:33

Related issues

Related to Redmine - Feature #31505: Mark edited journal notes as "Edited"ClosedGo MAEDA

Actions
Related to Redmine - Feature #40450: Add API-Request for fetching Journals which has changed since a certain date/timeNew

Actions
Actions

Also available in: Atom PDF