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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I prevent users from deleting issue links? (Permissions, ScriptRunner, etc?)

I'd like to restrict certain user groups from deleting issue links (but not from creating issue links).

 

It looks like Issue Linking permissions aren't itemised in Jira, so is there a way to separate out Delete?

 

Alternatively, could I use ScriptRunner to hide the Delete Issue Link UI elements based on if the user is in a given project user group? https://scriptrunner.adaptavist.com/latest/jira/fragments/HideUIElement.html

1 answer

1 accepted

0 votes
Answer accepted

Hi @stringsonfire 

Yes you can use behaviours to make it readonly field. Take a look at this example here.

This will make the issue link readonly but people can still use the plus sign to add links but you can also use script fragments to insert a css to hide that plus sign.

I hope it helps.

Ravi

Behaviours work only on the create/edit screen. For making sure users are not able to remove the links. You can hide the cross icon next to the issue links by inserting a custom css for the view issue page.

Like Daniela Buffarini likes this

In Cloud, some alternative for prevent delete issue link ?

Very grateful @Ravi Sagar  for making a video to show us your solution
youtube: 
ScriptRunner for Jira - Make Issue Links Read Only 

Like Ravi Sagar _Adaptavist_ likes this

I am glad you find it useful.

In Cloud, some alternative for prevent delete issue link ?

Same here. Looking for the same solution.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,120 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you