Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9193331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:08:10+00:00 2026-06-17T21:08:10+00:00

I wanted to hide some issue link outward & inwards strings of Link type

  • 0

I wanted to hide some issue link outward & inwards strings of Link type from the Link Issues Popup Window using java script.

I have tried using java script but I am not getting the popup screen from the java script.

Please see the screenshot below :

Hide Issue Link types

Can anyone tell me how can I get this popup screen in the java script?
Is there any other method to hide this?

Thanks & Regards,

Renuka.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:08:11+00:00Added an answer on June 17, 2026 at 9:08 pm

    To hide the clone issue link every page:

    edit the file system-webresources-plugin.xml (should be at /atlassian-jira/WEB-INF/classes/), and add to <web-resource key="jira-fields"> this code:

        <resource type="download" name="myScript.js" location="/includes/jira/field/script.js">
            <param name="source" value="webContextStatic"/>
        </resource>
    

    than, on /includes/jira/field/myScript.js write this:

    AJS.$(document).ready(function() {
        if (AJS.$("#link-type option[value*='clon']").size() > 0) {
            // will work even when right clicking on More 
            // Actions->Link & open it into a new window
            AJS.$("#link-type option[value*='clon']").remove()
        } else if (AJS.$("#link-issue").size() > 0) {
            // will work in case the link menu showing via popup
            AJS.$("#link-issue").click(function(){
                // wait for the popup to show, and remove the clone options
                setTimeout(function (){
                    AJS.$("#link-type option[value*='clon']").remove();
                 }, 300);
            });
        }
    });
    

    restart Jira and it that it!

    The script attaches a function to the link-menu opening, than gives the menu 0.3 seconds to load, and removes the unwanted items. If it doesn’t work well for you, try to raise the timeout from 300 to 500-1000.

    On jira 4, run instead:

        AJS.$("#issue-link-link-type option[value*='clon']").remove();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can we hide (invisible) some CodeBehind lines (for example a class) from other
For example if I wanted to select some elements with a certain class using
In continuation of the question at this link I wanted to add some functionality
I wanted to hide some business logic and make the variables inaccessible. Maybe I
I'm using the following jQuery code to hide and show some HTML element in
I was working on some encryption in C#. I wanted to hide my key
I am using Asp.Net Mvc Web api RC. I wanted to hide the fields/properties
Wanted to know if there was a way one could query shelveset details from
just wanted to ask where I define initial class properties? From other languages I
I wanted to know about Data Type implementation in PHP so I need a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.