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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Cloud, some alternative for prevent delete issue link ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very grateful @Ravi Sagar for making a video to show us your solution
youtube: ScriptRunner for Jira - Make Issue Links Read Only
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad you find it useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Cloud, some alternative for prevent delete issue link ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.