read only field for completed status
Issue #212
resolved
I want to make field should be editable based on workflow status, Once the ticket in completed status, user should not have permission to edit, how to implement this requirement, Please suggest on the same.
Comments (6)
-
repo owner -
Account Deleted reporter Hi,
First one I implemented but it didn’t work, can we set meeting? It is bit urgent. Regards, Savita
-
repo owner Ok, I'm available just now at https://global.gotomeeting.com/join/654656981
-
repo owner - changed status to resolved
-
Account Deleted reporter -
Account Deleted reporter - Log in to comment
Hi Savita,
The are two ways to do it:
1) The simplest way is to set step property jira.issue.editable to false in the workflow steps you want to forbid field edition. More information about this at Workflow properties. The problem of this approach is that all fields become no-editable. Anyway, if you don't mind it, I recommend to use this approach.
2) A much more complicated solution consists in:
As you are not adding reflexive transition "Edit X" to status "Completed", the field will not be able to be edited in that status.