Forums

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

Restrict unlinking ticket from link section

PLaksh11
Contributor
August 14, 2026

Hello Everyone,

 

Is there any way that user can link ticket but should not unlink in particular state?

 

Ex: 

Ticket A is in InProgress state and linked with Ticket B 

Case 1: User can link new ticket

Case 2: User should not be unlinked the existing ticket.

We need to allow only for linking.

 

Can we get any jira properties which can restrict only unlinking?

 

Thanks,

Prathap DL

3 answers

2 votes
Marc -Devoteam-
Community Champion
August 14, 2026

Hi @PLaksh11 

No this is not possible, there is a property to set on a status, in relation to linking, but this provides the option to link or denies it.

This means creating and deleting, there is no specifics to seperate this.

Linking is a single permission which includes adding and removing link relations between issues.

I my opinon it's more a mindset, why are user removing links, I would not remove a linked issues that I have not linked myself.

PLaksh11
Contributor
August 14, 2026

Hi @Marc -Devoteam- 

Thanks for the response.

 

 

Like Marc -Devoteam- likes this
Marc -Devoteam-
Community Champion
August 14, 2026

Hi @PLaksh11 

Please accept my answer as a solution, if my answer helped to solve or provide a workaround to your request.

This will help other community member trying to solve the same or provide them with a work around

P.S. If the answer is very valuable to you, please share some kudos.

Like Gor Greyan likes this
0 votes
Thiago Wenceslau -Appfire-
Contributor
September 1, 2026

Hi @PLaksh11

I’m Thiago, a Support Engineer at Appfire.

If you are open to using third-party apps, you can quickly set up an Event-based Action using JMWE (Jira Misc Workflow Extensions), to relink the issue when the user tries to unlink it. Here’s an example:

Screenshot 2026-09-01 at 05.19.18.png

Note: Please make sure to check the box for ignoring events by JMWE post-functions to avoid unintended behaviour.

Here, we simply create an Event-based Action that triggers on Issue Link Deleted and uses a Link Issues post-function. Now to configure the post-function:

Screenshot 2026-09-01 at 05.19.01.png

We can target the unlinked issue using the query below because JMWE tracks the unlink event, allowing us to access the deleted link details via Nunjucks:

key = {% if issue.id == context.issueLink.sourceIssueId %}{{ context.issueLink.destinationIssueId }}{% else %}{{ context.issueLink.sourceIssueId }}{% endif %}

You can also add multiple Post-functions if you wish, such as an error message or a comment to warn the user.


Please contact our support if you have any other questions about this.

Best regards, Appfire support team.

0 votes
Gor Greyan
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.
August 14, 2026

Hi @PLaksh11

Welcome to the Atlassian Community!

Natively, Jira doesn't provide separate permissions for creating an issue link and removing an existing issue link. Both operations are controlled by the Link Issues permission.

With ScriptRunner for Jira Cloud, you could potentially use a Script Listener on the Issue Link Deleted event and recreate the link if the issue is in a status where unlinking should not be allowed. But it is not a true prevention of unlinking.


PLaksh11
Contributor
August 14, 2026

Hi @Gor Greyan 

Thanks for the response. We will check this.

 

 

Like Gor Greyan likes this
Gor Greyan
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.
August 14, 2026

Hi @PLaksh11

Kindly ask you accept my answer if it helped to solve your request or provide direction.

This will help other community members trying to solve the same issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events