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

How to hide "Delete Link" icon from the view screen in jira?

Sushma August 21, 2019

Hi All

I want to hide the "Delete link" aui icon from the issue view screen.Is it possible using script runner?

hidedeletelink.PNG

4 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 21, 2019

Hi Sushma,

Thank you for your question. 

I can confirm that ScriptRunner for Jira Server comes with the Hide UI Element Built in Script as described inside of the documentation page located here

You will be able to take this built in script and configure it to hide issue linking panel on an issue so that users cannot remove the issue link.

You will then be be able to add a Behaviour on the edit screen to make the field read only when a user edits the issue to stop users from editing the field and to only users in a certain group or project role to edit the field as described in the documentation page here.

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,

Kristian

Azfar Masut
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2022

I cant find any module keys that allow us to hide only the 'x' icon through the script fragment, can you advise further here @Kristian Walker _Adaptavist_ ?

0 votes
Bhekinhlanhla Siza Mbatha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 11, 2023
  1. Go to the custom.css file in your Jira installation.
  2. Add the following CSS rule to the file:
Code snippet
.aui-icon-delete-issue-link {
  display: none;
}
  1. Save the custom.css file.
0 votes
Mayuresh Sakharape October 26, 2020

@Lady Di ,

Please share the code for JsIncluder

0 votes
Lady Di
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
August 21, 2019

I can suggest use Jsincluder.
It is solved by one line of code. If interested, I will write.

ITDev August 6, 2020

Hi, can you link me to the documentation about JSIncluder?

TAGS
AUG Leaders

Atlassian Community Events