Project

General

Profile

Is it possible to update notes via API?

Added by Joan J 8 months ago

I see that on the interface one can edit existing notes (marking as private or changing the content), but on the issue api there's no mention other than adding new notes.

On this forum I found [[https://www.redmine.org/boards/2/topics/34324?r=34347]] , but it doesn't seem te be in the docs at [[https://www.redmine.org/projects/redmine/wiki/rest_issues]]


Replies (3)

RE: Is it possible to update notes via API? - Added by Holger Just 8 months ago

Redmine 5.0 added an API to update the notes of an existing journal. See #10171#note-7 for a usage example. Note that you need to use the journal's ID in the URL there, not an issue ID.

It appears that this API is not yet documented in the Wiki though.

RE: Is it possible to update notes via API? - Added by stephaine fidel 8 months ago

Holger Just wrote in RE: Is it possible to update notes via API?:

Redmine 5.0 added an API to update the notes of an existing journal. See #10171#note-7 for a usage example. Note that you need to use the journal's ID in the URL there, not an issue ID.

It appears that this API is not yet documented in the Wiki though.

Yes

RE: Is it possible to update notes via API? - Added by MINAID Smith 2 months ago

Hello,

It looks like you’re interested in editing existing notes through the issue API, but it seems that the current documentation only covers adding new notes.

From my findings, it appears that the Redmine API documentation does not explicitly include endpoints or methods for editing existing notes. The forum thread you referenced suggests that note editing might not be directly supported via the API.

However, you might consider the following alternatives:

API Enhancement Request: If note editing is a critical feature for your workflow, you could submit a feature request to the Redmine developers or check if there are any ongoing discussions about this feature in the community.

Custom Solution: If you have control over the Redmine server, you might explore creating a custom plugin or extension that provides the ability to edit notes via the API. This would require some development work but could address your needs.

Alternative Approach: For now, you might need to manage note updates through the Redmine web interface until a more integrated solution is available.

For the latest information and potential updates, I recommend keeping an eye on the Redmine documentation and community forums. If you have any other questions or need further assistance, feel free to ask!

Best regards,

    (1-3/3)