Confluence spaces or Jira Dashboard links default open in new window

KP11
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2013

When we create a URL link in Confluence space or Jira dashboard is there a way to make the default open in a new tab/window rather than got directly to the window and lose the JIRA/Confluence session? We can always use the back arrow but sometimes the session has expired.

(Insert link Confluence space etc)

1 answer

1 accepted

0 votes
Answer accepted
Jonathan Simonoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2013

There is a case on this. Vote on it to encourage Atlassian to fix.

The case also has a workaround.

https://jira.atlassian.com/browse/CONF-11194

KP11
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2013

The macro code does not work. Is this inserted as code block?

<script>

AJS.toInit(function() {
  AJS.$("a").attr('target', "_blank");
});
</script>
Jonathan Simonoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2013

You'd put that in an HTML macro.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events