Make a link to create a new issue on GitLab that uses a template
- gitlab new issue template link
https://gitlab.com/agaric/sites/example/issues/new?issuable_template=Bug
i updated the answer to this a while ago… https://gitlab.com/gitlab-org/gitlab-ce/issues/26595
- gitlab new issue link prefill label
In general this falls under the documentation for “using a URL with pre-filled values”:
https://docs.gitlab.com/ee/user/project/issues/create_issues.html#using-a-url-with-prefilled-values
Also note that if you want to, say, set the milestone and label you cannot do those directly, but you can make it so the commands will be in the description:
/milestone %"Minimum Viable Platform"
/label ~"type::User Story"
when you URL encode all of that like so:
https://gitlab.com/example/example/-/issues/new?issue[description]=%2Fmilestone%20%25%22Minimum%20Viable%20Platform%22%20%0A%2Flabel%20~%22type%3A%3AUser%20Story%22%20
Note this is a re-hash of my earlier note: 2018-08-02-link-to-create-a-new-issue-in-gitlab-with-a-specific-issue-template-selected.md