Skip to content

Instantly share code, notes, and snippets.

@johanbove
Last active May 9, 2022 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johanbove/80acbdc8b0c25faba031caacf790bc06 to your computer and use it in GitHub Desktop.
Save johanbove/80acbdc8b0c25faba031caacf790bc06 to your computer and use it in GitHub Desktop.
Gitlab add issue from line number bookmarklet
javascript:(function()%7Btitle%3D""%3Bdescription%3Dwindow.prompt(%27Copy the url to the code line%27,location.href)%3Btarget%3D%27{---REPLACETHISWITHPROJECTURL---}/-/issues/new%27%3Blocation.href%3Dtarget%2B%27%3Fissue%5Btitle%5D%3D%27%2BencodeURIComponent(title)%2B%27%26issue%5Bdescription%5D%3D%27%2BencodeURIComponent(description)%3B%7D)()%3B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment