Project

General

Profile

Actions

Feature #10171

closed

Updating journal notes via REST API

Added by Taha Jahangir almost 13 years ago. Updated almost 3 years ago.

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

0%

Estimated time:
Resolution:
Fixed

Description

Currently viewing journals via REST API is possible (with include=journals), but there is no way to update them.

Note that journal notes are edtiable in main ui.


Files

add_put_journal_api.patch (3.96 KB) add_put_journal_api.patch Mizuki ISHIKAWA, 2022-03-23 08:09

Related issues

Related to Redmine - Feature #8630: Journals in REST APINew2011-06-16

Actions
Has duplicate Redmine - Feature #27870: API for editing/deleting notes in an issueClosed

Actions
Actions #1

Updated by Taha Jahangir over 12 years ago

Is there any plan to fix this issue?

Actions #2

Updated by Grigory Kirichenko over 10 years ago

It seems that we not only can't edit notes via REST API.
See http://www.redmine.org/boards/1/topics/16513?r=29807
We also can't ADD notes to issue through REST API.

Please write here if something changed.

Actions #3

Updated by Kamil Franckiewicz over 10 years ago

I would like to enjoy to this feature. Will it be possible in the future ? I found also similar issue Journals in REST API

Actions #4

Updated by Toshi MARUYAMA over 10 years ago

Actions #5

Updated by Go MAEDA about 6 years ago

  • Has duplicate Feature #27870: API for editing/deleting notes in an issue added
Actions #6

Updated by Brian Bouterse over 4 years ago

Without this feature, there is no way to clean spam from Redmine websites in an automated way. This is a serious problem for our usage of Remdine.

Actions #7

Updated by Mizuki ISHIKAWA almost 3 years ago

This patch adds a PUT update API for journal.

This API has the following functions similar to those available from the page:
  • Of the journal values, you can only update notes.
  • When the notes of the journal that does not have the associated journal_details are changed to empty, the journal record is deleted.

Example:

curl -X PUT -d '{"journal": { "notes": "new notes" }}' -H "Content-Type: application/json" http://localhost:3000/journals/1.json?key=<api key>

Actions #8

Updated by Go MAEDA almost 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version set to 5.0.0
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Actions

Also available in: Atom PDF