Jira New Tab Flow: Open Tickets in a New Tab, Not in Popup

Enhance your Jira experience open any clicked issue in a new tab

< 腳本Jira New Tab Flow: Open Tickets in a New Tab, Not in Popup的回應

評論:OK - script works, but has bugs

§
發表於:2024-03-14
編輯:2024-03-14

Nice but made this small modification so it works on my company self-hosted JIRA:

Line 68 (added const urlDomain and used it in the url template below)

        // Get the currently selected issue
        const urlParams = new URLSearchParams(window.location.search);
        const urlDomain = window.location.hostname;
        const selectedIssue = urlParams.get('selectedIssue');

        // Open the selected issue in a new tab if it's different from the last one
        if (selectedIssue && selectedIssue !== lastSelectedIssue && !justActivated) {
            window.open(`https://${urlDomain}/browse/${selectedIssue}`, '_blank');
        }
Ameer-Jamal作者
§
發表於:2024-08-12

Thank you for the Feedback Ill work on adding your change

Ameer-Jamal作者
§
發表於:2024-08-12

I added your change as is, as I have lots of work not enough time to check, but you are right, honestly posted this up for internal use did not expect people to download it ! thank you fievel

發表回覆

登入以回復