Forums

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

How to prevent linking closed tickets?

Dennis S.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2023

Dear community,

we try to prevent linking closed tickets. Therefore, we´ve implemented the link property in status closed. Thus, it is not possible to set links in closed tickets itself. Unfortunately, it is still possible to set the link from any "not closed" ticket to the closed ticket and thus there´s a loohole. Is there a way to prevent that?

Thanks & best regards,

Dennis

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
January 12, 2023

Hi @Dennis S. and welcome to the community,

I can think one possible solutions, both using scriptrunner (or equivalent app):

Create a listener which will listen for the IssueLinkCreatedEvent (https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/event/issue/link/IssueLinkCreatedEvent.html). If the any of the linked issues are closed or has a resolution, then simply don't allow the link to be created and/or remove that specific link.

Suggest an answer

Log in or Sign up to answer