-
|
Hi @boanergies, the id attribute for the template object and manager is the name 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! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
{{title}}
Uh oh!
There was an error while loading. Please reload this page.
-
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 the description field.
I'm just a little confused of the get merge request description template api. I found the ProjectMergeRequestTemplateManager but am a little confused on it's get function. As the code shows the URL being built is exactly what's documented for retrieving a specific description template. What I don't understand is what id I should pass to the get function as the documentation doesn't show any id particularly to be given for the template description.
Beta Was this translation helpful? Give feedback.