I am trying to use the python api for gitlab (python-gitlab==3.13.0) to generate automatically new issues based on issue templates in an existing project. while I am able to create issues by giving a title/description I can’t find a way to generate the issue based on a template in .gitlab/issue_templates. The template appear in the gitlab web UI so they are accessible. Can anyone provide me with the correct call?
Code:
gl = gitlab.Gitlab(private_token=token)
project = self.gl.projects.get(“path”)
project.issues.create({‘title’: ‘some test’})