Forums

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

Stop issues from being edited after "Done"

JayJuan Jones
Contributor
January 6, 2023

Hello, 

I am looking for a way to stop users from being able to edit or transition issues that have already been marked as done/resolved/canceled. 

Any idea how I can achieve this?

I tried to use the jira.issue.editable property in the workflow, and that doesn't seem to work. Any other ideas?

2 answers

5 votes
Joe Pitt
Community Champion
January 6, 2023

Not sure why the editable property didn't work. However, either don't have a transition from the Done status or only allow the project manager to execute it. Normally the only transition would be to re-open the issue or to allow changing the resolution reason. 

JayJuan Jones
Contributor
January 6, 2023

I removed that transition after I posted this and that did the trick. Not sure why that was there in the first place. I'll see how this goes for now, and if I find they're still getting opened, I'll have to look into the resolution reason. 

Like Deleted user likes this
Olga Videc
Community Champion
January 6, 2023

The jira.permission.edit doesn't stop you from transitioning the issue it disables the ability to edit the issue. I agree with Joe to limit the transition to a user group like admins or a project role Manager or someone.

Use jira.permission.edit to disable edit and add a user-based condition on the transition. Those who don't match the condition won't see the transition.

BR, Olga

Like Deleted user likes this
2 votes
Vamsi Kandala
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.
January 6, 2023

Hi @JayJuan Jones

The property should be set for the 'Done' status or whatever status that you want to restrict the users from editing the issue.

And, the property should be set as follows:

jira.issue.editable=false

Property Key = jira.issue.editable
Property Value = false

Hope this helps.

Thanks,
Vamsi

Olga Videc
Community Champion
January 6, 2023

Hello @JayJuan Jones 

As @Vamsi Kandala mentioned please check that you didn't add the property to the transition, the property needs to be added to the status itself. If this doesn't work try duplicating the workflow and see if the problem replicates. 

BR, Olga

Like Deleted user likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events