Forums

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

Preventing links to jira's in a particular status

Alicia Pena
Contributor
September 27, 2022

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? 

1 answer

1 vote
Alexey Matveev
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.
June 4, 2018
Yousaf
Contributor
June 4, 2018

Hello Alexey, 

 

thanks this helped ;)

 

This feature should only be editable for a certain group (Controlling). How can I set this in the permissions?

 

Thanks

Alexey Matveev
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.
June 4, 2018

Try like this:

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

You can find more info here:

https://www.j-tricks.com/tutorials/permissions-based-on-workflow-status

Yousaf
Contributor
June 4, 2018

Excellent, now all works 

 

Thanks

Alexey Matveev
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.
June 4, 2018

I am glad that it works for you. If my answer solved your problem, kindly accept my answer. In this case other people with similair question will be able find this solution.

Suggest an answer

Log in or Sign up to answer