Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Getting Merge request templates#3264

Unanswered
boanergies asked this question inQ&A
Sep 16, 2025· 1 comments· 1 reply
Discussion options

I'm in the process of trying to automate some merge request creation via the python api you have provided and I want our description templates to be used as part of that. As such it seems I have to download the merge request description template and then add it to the merge create request as part of thedescription field.

I'm just a little confused of the get merge request description template api. I found theProjectMergeRequestTemplateManager but am a little confused on it'sget function. As the code shows the URL being built is exactly what's documented forretrieving a specific description template. What I don't understand is whatid I should pass to theget function as the documentation doesn't show any id particularly to be given for the template description.

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Hi@boanergies, the id attribute for the template object and manager is thename of the template, matching the upstream docs. Or as described in the upstream docs,Key of the template, as obtained from the collection endpoint. You can see that just above in the ProjectMergeRequest object, where the_id_attr is set to `name. Hope that helps!

You must be logged in to vote
1 reply
@boanergies
Comment options

Ah I see now, thank you for the help

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@boanergies@nejch

[8]ページ先頭

©2009-2025 Movatter.jp