Remove plus button ("Add link") from issue

Vasco Nunes March 19, 2019

I need to remove the plus button that adds links to the issues. (please see attached screenshot)

remove_plus_button.png

Can anyone help to figure out where I can do this?

2 answers

1 accepted

0 votes
Answer accepted
Vasco Nunes March 19, 2019

I found out how.

I just added jira.permission.link.projectrole.denied property.

GRF66 February 12, 2021

Can you give me an example ?

Is it correct ?

jira.permission.link.My Role.denied

And how to remove this ?

Thanks.

Like Antoine Berry likes this
0 votes
Alexa December 7, 2022

We're on Data Center but if you have the ScriptRunner plugin, you can hide it using the "Hide system or plugin UI element" fragment. Select the "com.atlassian.jira.jira-view-issue-plugin:create-issue-link" option in the "Hide what" field to target the plus sign:

2022-12-07_18-19-27.png

Result of this change:

2022-12-07_18-15-08.png

Please note: as you can see in my first screenshot above, we have another configuration included: the  "com.atlassian.jira.plugin.system.issueoperations:link-issue" option in the "Hide what" field is there to hide the "Link" option from the "More" dropdown menu in the ticket detail view:

  • Before:
    • 2022-12-07_18-22-02.png
  • After -- it's hidden:
    • 2022-12-07_18-24-32.png
  • You can also limit what projects you want these elements hidden on by adding the following condition to the "Condition" field in the fragment:
    • jiraHelper.project?.key != "insert your project key here"

Suggest an answer

Log in or Sign up to answer