gitlab

Gitlab: pre-fill issue form through hyperlink


On GitHub it is possible to easily pre-fill the form for a new issue with URL params like this:

https://github.com/docToolchain/docToolchain/issues/new?title=a+title&body=a+test+body%0Awith+two+lines

Is there also such a feature for gitlab?

I couldn't find this in the docs or through google...


Solution

  • Here is the solution:

    ?issue[title]=This+goes+to+the+title&issue[description]=and+this+will%0Aprefill+the+body
    

    Example:

    https://gitlab.com/ralf-d-mueller/GradlePluginWorkshop/issues/new?issue[title]=This+goes+to+the+title&issue[description]=and+this+will%0Aprefill+the+body

    And here is the reference to the docs: https://docs.gitlab.com/ee/user/project/issues/create_issues.html#using-a-url-with-prefilled-values