We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to update a comment on a merge request. For that I use:
mr = gitlab_project.mergerequests.get(mr_iid) match_str = find_comment_match(comment) try: existing_note = None for note in mr.notes.list(): if find_comment_match(note.body) == match_str: existing_note = note if existing_note: existing_note.body = comment existing_note.save()
Comment gets replaced by the new text
New comment is appended to the text of the old comment
The text was updated successfully, but these errors were encountered:
Can you try with the latest version of python-gitlab?
Sorry, something went wrong.
Looks like it was a mistake on my side. Tried to reproduce it in a small testcase but failed
No branches or pull requests
Description of the problem, including code/CLI snippet
I want to update a comment on a merge request. For that I use:
Expected Behavior
Comment gets replaced by the new text
Actual Behavior
New comment is appended to the text of the old comment
Specifications
The text was updated successfully, but these errors were encountered: