Reputation: 1672
I am enforcing an issue template so I can extract the business requirement(one-liner describing the issue for non-technical people) from an issue description
According to Gitlab API documentation, there is nothing about the description field in the projects namespace parameters https://docs.gitlab.com/ce/api/projects.html#edit-project
Upvotes: 0
Views: 2729
Reputation: 4665
Short answer: the API doesn't provide this right now.
From what I understand after reading the doc, issue templates exist as files committed to your git repository (inside the .gitlab/issue_templates/
folder). Therefore, if an API endpoint to do what you want existed, it would have to create a file in the repository with your template in it, then create a new commit on a given branch and push to the repo.
Upvotes: 3