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

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

Avaliação: OK - o script funciona, mas tem bugs

§
Publicado em: 14/03/2024
Editado em: 14/03/2024

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');
        }
§
Publicado em: 12/08/2024

Thank you for the Feedback Ill work on adding your change

§
Publicado em: 12/08/2024

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

Enviar resposta

Entre para publicar uma resposta.