Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,070
Community Members
 
Community Events
176
Community Groups

Remove plus button ("Add link") from issue

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

I found out how.

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

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

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