Can we disable linking issues to an Issue when it is closed

Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2012

Hi All

Is there a way to restrict linking issues to a closed issue ?

Thanks, Vishnu

3 answers

1 accepted

6 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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 Leaders.
February 1, 2012

Can you try removing the permission using worklofw properties?

http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html

Haven't tried that for linking but it surely works for some other permissions. Worth a shot.

Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2012

Jobin

Thanks for the link. It's similar to http://confluence.atlassian.com/display/JIRA044/Workflow+Properties

But I don't see any properties for restricting Issue Links.

Jobin Kuruvilla [Adaptavist]
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 Leaders.
February 1, 2012

You don't restrict the property. You restrict the permission as mentioned in the above post. Something like:

jira.permission.link=denied

If that doesn't work, try:

jira.permission.link.group.1=some-group-one

where some-group-one is a group that aready had linking permission but doesn't have any users in it or has only limited users like admins.

As I said before, I haven't tried this purticular example but it should work.

Like Walter Lamm likes this
Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2012

Thank you so much Jobin.

The second one works well.

Stephen Chai November 30, 2013
Hi, I tried to disable linking but it only works when I want to disable Issue A (closed issue) from linking to issue B. It doesn't prevent me from linking Issue B to Issue A. My aim is to prevent any blocking issue to Issue A as long as it is closed, as this breaks the workflow I have set up. Any help will be greatly appreciated. I'm new to Atlassian and am now trying to learn how to configure it for our workflows.
Ilya Turov
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 Leaders.
October 29, 2019

kinda late to the party, but just adding 

jira.permission.link.denied with empty value

to status properties seems to work

Like # people like this
Olaf Troike June 5, 2020

I add the property to the closed status, but it doesn't work. It only works when I want to disable Issue A (closed issue) from linking to issue B. It doesn't prevent me from linking Issue B to Issue A

Сергей July 23, 2020

Dear Olaf, 

Did you found the resolution for this request?

Jonathan Smith October 14, 2020

@Olaf TroikeI have the exact same question as you - did you ever figure out how to lock linking issue B to issue A?

jira-admin_telenor February 3, 2021

@Olaf Troike @Jonathan Smith dod you guys find out how to restrict issue B from adding a link to issue A where the  jira.permission.link.denied is in place for issue A

Jonathan Smith February 3, 2021

I have not found a solution.

Like jira-admin_telenor likes this
1 vote
André Stuhrmann June 8, 2021

I did not know which one would be the correct property, so I have tried

jira.permission.link=denied
jira.permission.link with denied in the right column
jira.permission.link.denied - as suggested by @Ilya Turov 

None those would work. Any help?

André

Tomas Slavkovsky April 12, 2023

This works:

jira.permission.link.denied

The answer is here.

Screenshot 2023-04-12 at 10.00.53.png

Like Devo likes this
0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2012

No, there's no way to do this.

If you wanted, you could investigate amending the core linking code to add such a check, but that's a lot of work (and I'm not sure the requirement is actually that useful - how do you link to duplicates or refer back to useful tickets?)

Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2012

My requirement is, just wanted to make sure that No one links any CR's to a Release which is already closed.

Katarina Nikolic June 23, 2017

Dear Vishnukumar, 

Did you found the resolution for this request?

 

Thank you.

Regards,

Katarina

Suggest an answer

Log in or Sign up to answer