In jira how open weblink in a new tab or new window automatically.

Hi Guys,

Whenever we add a weblink to the jira issue and clicked in the view screen of the issue, it is opened in the current window 

But  required is when we  click, the web link should be opened in new tab or new window .

 

Thanks

Naveen

2 answers

This widget could not be displayed.
Josh Steckler Community Champion Oct 12, 2017

Do CTRL+Click (windows)

command+click mac.

Josh,

This is manually we are opening in new tab

Am asking automatically when clicks the link in jira it can open in new tab currently it is opening in the same  tab.

Josh Steckler Community Champion Oct 13, 2017

I understood, but there's no way to change this.

Hello Josh,

It is possible we have  to add the Jquery to announcement banner

i added the following query

and am able to get the weblink  in a new window.

jQuery(document).ready(function() {
jQuery(".link-title").attr("target", "_blank");

 

Thanks

Naveen

This widget could not be displayed.

Naveen,

I tried the exact query in the announcement banner and it not work. Can you confirm that it is still working at your end?

Keri Duthie Atlassian Team Wednesday

Hi Philemon, 

 

You'll need to make sure you have the script tags in there too: 

<script>
jQuery(document).ready(function() {
jQuery(".external-link").attr("target", "_blank");});
</script>

 Does this work for you?


Cheers,

Keri

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

94 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you