Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save koara-local/a38933deae41f37e3a0f7af3d45baa7d to your computer and use it in GitHub Desktop.
Save koara-local/a38933deae41f37e3a0f7af3d45baa7d to your computer and use it in GitHub Desktop.
jira login bookmarklet
javascript: ( function () { var BASE_URL = AJS.params.baseURL; function getUrlPath(username, password) { return BASE_URL + "/login.jsp?os_username=" + username + "&os_password=" + password + "&os_destination=" + encodeURIComponent(location.href); } var username = 'admin'; var password = 'admin'; location.href = getUrlPath(username, password); } )();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment