The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
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 Champions.
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
Contributor
October 26, 2020

@Lady Di ,

Please share the code for JsIncluder

0 votes
Lady Di
Atlassian Partner
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?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events