Making an issue editable/non-editable based on workflow status
We know that the edit permission on an issue is controlled through the Edit Issue permission. This is used within the permission's schemes tied to a project and it blocks/allows editing of the issue, irrespective of which status it is in! But often the need arises to block an issue being edited at a specific status. An example would be to prevent editing on a closed issue or to block users' logging time on a particular status.
We will have a quick look at how to achieve this, using workflow properties. Workflow properties are nothing but key/value pairs defined on a workflow step or a transition.
How to do it…
We can make an issue editable or non-editable using the jira.issue.editable
workflow property. The following is the step-by-step procedure:
Log in as a JIRA administrator.
Navigate to Administration | Issues | Workflows.
Create a draft of the workflow, if it is active. Navigate to the step, which needs to be modified.
Click...