How to Hide issue link inward & outward strings from Issue Link Window?

Hi All,

I wanted to hide some issue links from the issue Link window from the users. Please see the screenshot below:

This requirement is from my client.

Can you please suggest me workaround for this?

Thanks in Advance.

Renu.

2 answers

1 accepted

1 votes

You can't do it in configuration, you will need to amend some code to hide the links you don't want from specific groups/users etc

You might be able to do it in Javascript, but people can bypass that if they want. That's the closest you'll get to a none-coding workaround.

Hi Nic,

Thanks for your quick response.

Can you please suggest me what kind of code I can use?

I tried using javascript... But I am not able to get the Link PopUp Window to hide those link types using javascript.

Thanks & Regards,

Renu

Hi All,

Please suggest me some javascripts for this.

I have used following java script it is not working.

<script type="text/javascript">
  AJS.$(document).ready(function() {
    AJS.$("#issue-link-link-type option[value*='clones']").remove();
  });
</script>

Thanks & Regards,

Renu


Can anyone please tell me how can I get popup Link screen in the java script. so that I can remove options from the select list?

Renjith Pillai Community Champion Jan 24, 2013

You have to do it in the steps. First you need to add a handler in the doc.ready to add a handler for the div show/hide. Inside that handler you should try to remove the options from the dropdown.

I guess so.

Hi Renjith,

Thanks for your reply.

I got one javascript to hide such options from the select list.

Can you share your script? Thanks

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,990 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot