Aug 01, 2021 10:43 pm
How to open the JIRA case ID directly from any page using the bookmarklet?
How to share the JIRA case ID along with its description using a bookmarklet?
1 Reply
Aug 02, 2021 1:00 pm
This bookmarklet can be used to open the JIRA case ID directly from any page.
javascript:(function(){var casenumber=prompt("Enter the JIRA ID");if(casenumber.length>0){if(casenumber.indexOf("-")<0){casenumber = "-" + casenumber;};document.location.href="https://<jiralink>"+casenumber;}})()
This bookmarklet can be used to share the JIRA case ID along with its description.
javascript: (function(){prompt("", document.querySelector("[data-test-id='issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container']").querySelector("a").innerText + " - " + document.querySelector("[data-test-id='issue.views.issue-base.foundation.summary.heading']").innerText)})()