Skip to content

More detailed URL query string parameter control

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Allow for URL query string parameters to define the description of a custom template when creating a new issue.

E.g creating an issue we can already use a URL like so:

https://gitlab.com/root/therepo/-/issues/new?issue[title]=TestIssue&issue[description]=Blahblahblah

Or like so:

https://gitlab.com/root/therepo/-/issues/new?issuable_template=Security&issue[title]=TestIssue

image

But the description of the Template cannot be set by the URL parameters since the Template sets it. Hence the following will not load 'Blahblahblah' into the description:

https://gitlab.com/root/therepo/-/issues/new?issuable_template=Security&issue[description]=Blahblahblah

It would be ideal if I could append information to the custom template description

E.g the something like following would produce the below issue

https://gitlab.com/root/therepo/-/issues/new?issuable_template=Security&issue[description][Append]=Blahblahblah

image

This would be useful as on our site we have auto-creation buttons for Gitlab issues which load in relevant information form the page you are on. We want to use templates that are pre-loaded with relevant information.

Additionally, just using the API instead doesn't work either as it has the same restrictions

Edited by 🤖 GitLab Bot 🤖