Forums

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

I'm trying to lock the issues when they are on "Done" status

Juan Manuel Alarcon Castrillon April 11, 2024

Hi I am trying to prevent the issues for moving once they are in Done status, I have tried jira.issue.editable setting it False, but that still allows me to move the issue to other status, is there a way to prevent that movement and once it is in done it can not be move to other status?

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
April 11, 2024

Hello @Juan Manuel Alarcon Castrillon 

Welcome to the Atlassian community.

You can't block status transitions using Workflow Properties.

Can you show us the diagram for the workflow you are trying to modify?

If you currently have Global transitions into all status like this (All --> status)

Screenshot 2024-04-11 at 1.07.28 PM.png

...you would need to modify the workflow to remove those Global transitions to the non-Done statuses and replace them with specific transitions from one status to another. In the above case you would remove the Global transitions for the To Do and In Progress statuses, and add two transitions:

one from To Do to In Progress

one from In Progress to To Do

And if you workflow currently has an transitions from the Done status to other specific statuses, you would need to remove those transitions also.

Matt Parks
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.
April 11, 2024

You could also put in a validator/condition on the 'All' transitions into To Do or In Progress where it isn't allowed if the status of the issue is Done.

Like Trudy Claspill likes this
Juan Manuel Alarcon Castrillon April 11, 2024

Hi I have some of those global transitions and some specifict, but correcct me if I am wrong, you are telling me that the only way to "restict" the movement is by making specift transitions to all the status I might have?

Trudy Claspill
Community Champion
April 11, 2024

Ah, no. @Matt Parks 's suggestion works too.

@Matt Parks you should make that a separate Answer so you can get credit for an accepted answer. :-)

 

Juan Manuel Alarcon Castrillon April 11, 2024

Great, thank you your your suggestions I will give them I try and hope it works

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