プロジェクト

全般

プロフィール

Vote #71325

完了

Updating journal notes via REST API

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
155
issue_org_id:
10171
author_id:
12661
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

Is there any plan to fix this issue?
--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------
I would like to enjoy to this feature. Will it be possible in the future ? I found also similar issue "Journals in REST API":http://www.redmine.org/issues/8630
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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:
<pre>
curl -X PUT -d '{"journal": { "notes": "new notes" }}' -H "Content-Type: application/json" http://localhost:3000/journals/1.json?key=<api key>
</pre>
--------------------------------------------------------------------------------
Committed the patch. Thank you for your contribution.
--------------------------------------------------------------------------------


related_issues

relates,New,8630,Journals in REST API
duplicates,Closed,27870,API for editing/deleting notes in an issue

Admin Redmine さんが約4年前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン5.0.0_155 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0