Our maintenance team creates a maintenance story with weekly maintenance subtask tickets. Other projects link their tickets to the weekly subtask ticket for maintenance they want done as well. They lock the maintenance window the day prior to the maintenance session to discuss and evaluate all of the changes. Users keep sneaking in linked jira's after the maintenance freeze, that aren't discovered until the middle of the work, which often cause problems during maintenance.
To solve that problem, I added a Maintenance status with properties "jira.permission.link.denied" and Maintenance window transitions with the same property. This works in removing the ability to link from the maintenance ticket. Once the weekly ticket is moved to Maintenance the "More -> Link" option is no longer available. However, other projects can still link their tickets to the weekly maintenance ticket.
How can I completely restrict all projects from linking to a particular jira that is in Maintenance Status?