How do you make an issue read only after it is in a closed status?

annag June 16, 2020

This is a big audit problem for us. After an issue has been closed, you can still make edits to the issue.

3 answers

2 accepted

2 votes
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 16, 2020

Hi @annag ,

You can do this by adding a property on the workflow. On the Status that you wish to block the editing go to properties and add:

 jira.issue.editable = false

issue editable.PNG

annag June 16, 2020

Thank you!!!

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
June 16, 2020

You can block them with workflow properties.

See https://confluence.atlassian.com/adminjiraserver/workflow-properties-938847526.html

but in this case, find the status that is "closed" (one or many), edit the workflow and add jira.issue.editable = false to those status (you might want to do the same for comments and other permissions)

annag June 16, 2020

Thank you! Yes, looks like this removed the Edit capability. Would I use a behaviour to take away the edit capability for comments?

Nic Brough -Adaptavist-
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.
June 16, 2020

On that page, there's mention of how you can do the same for comments.

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 16, 2020

@annag ,

That would be through the jira.permission.* property.

Without duplicating all the information here there is an elaborate article about this on:

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

The one you are looking for I believe would be:

jira.permission.comment.denied = denied

annag June 16, 2020

Thank you so much! I will take a look at that doc.

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 16, 2020

It's a bit older information (2011) but the information should mostly be accurate.

If they no longer work let me know and I'll do some testing myself :)

Harry Bob
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.
June 17, 2020

Will this work on next-gen projects within JSD?

0 votes
Judah
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.
September 20, 2023

Looking for a way to do this in a Behaviour...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events