Replies: 1 comment
-
You can comment on MR with following code: gl = # init and auth main Gitlab object
project = gl.projects.get(project_id)
mr = project.mergerequests.get(mr_iid)
mr.discussions.create({"body": "New comment"}) where see more at https://python-gitlab.readthedocs.io/en/stable/gl_objects/discussions.html#examples |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to comment a MR from python script
but I didn't find any mentions for that, do you have an idea?
Beta Was this translation helpful? Give feedback.
All reactions