"Link" permission setting

Frederik March 21, 2023

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...).

2 answers

1 accepted

0 votes
Answer accepted
Riley Venable
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 21, 2023
Based on the provided context, it seems that the behavior you are experiencing is not expected. The "jira.permission.link.denied" property setting should prevent any changes being made to Links when a related issue is in the configured status, including removing the ability to delete links. It is possible that this is a bug and you may want to report this to the Jira support team for further investigation.
Hila Lahav Rice July 12, 2023

tried it.
did not work. can you provide please example?


2 votes
Jörn Bungartz March 14, 2024

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.

2024-03-14 18_34_42-Clipboard.png

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events