Project

General

Profile

Actions

Feature #10171

closed

Updating journal notes via REST API

Feature #10171: Updating journal notes via REST API

Added by Taha Jahangir almost 15 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
REST API
Target version:
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 3 (1 open — 2 closed)

Related to Redmine - Feature #8630: Journals in REST APINewActions
Related to Redmine - Feature #40415: Document Journals APIClosedActions
Has duplicate Redmine - Feature #27870: API for editing/deleting notes in an issueClosedActions

Updated by Taha Jahangir over 14 years ago Actions #1

Is there any plan to fix this issue?

Updated by Grigory Kirichenko over 12 years ago Actions #2

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.

Updated by Kamil Franckiewicz over 12 years ago Actions #3

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

Updated by Toshi MARUYAMA over 12 years ago Actions #4

Updated by Go MAEDA about 8 years ago Actions #5

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

Updated by Brian Bouterse over 6 years ago Actions #6

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.

Updated by Mizuki ISHIKAWA over 4 years ago Actions #7

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>

Updated by Go MAEDA over 4 years ago Actions #8

  • 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.

Updated by Go MAEDA 6 months ago Actions #9

Actions

Also available in: PDF Atom