I'm currently looking into ways to prevent users from deleting issue links in Jira Cloud. I have learned that Jira does not consider adding or deleting links as separate items, if you want to disable either then you disable both.
I have found that you can prevent this on any given Status via Properties in Workflow settings, but noticed some odd behavior:
Giving a Status the "jira.permission.link.denied" property setting prevents any changes being made to Links when a related issue is in the configured status (removing the "Link Issue" functionality entirely and removing the "x" remove ability next to any link). It also prevents the issue being linked via any other issue. This is behaving as expected.
What is not expected however, is that you can still delete the links from a linked issue and that it will update this in the issue even though it is in the configured status and the links should not be able to be modified.
For example: Story 1 is linked to Task 1. For the Story issue type it's configured in the workflow that when the status is set to "Done", you can no longer make any changes to the issue (incl. linking etc.). Then when you try to add Task 2 to Story 1, it will prevent this from happening. You also can't remove Task 1 from the Story 1 issue screen. You can however delete the link between Task 1 and Story 1 from the Task 1 issue screen. This information is then updated in Story 1, despite it having a property that the links cannot be updated.
Is this working as intended or is this a bug? I would expect that if an issue cannot be edited, then this means it cannot be edited. I can however still edit it via other issues (and only in certain directions...).
hi
tried it.
did not work. can you provide please example?
thanks
hila
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just solved this by creating an automation that is triggered by a deleted link.
The automation adds the link back and adds a comment to both source and destination issue to communicate to the user why this is happening.
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.