If you have administered JIRA, you probably already know about the global permissions and project permissions. And you have seen more about workflow conditions in the previous recipes. But how about restricting issue permissions based on the workflow status?
JIRA gives us an option to restrict issue operations (such as edit, comment, and so on) depending on the current status, using workflow properties, as detailed in this recipe. Workflow properties are nothing but key/value pairs defined on a workflow step or a transition.
The following are the steps to control issue permissions, using workflow properties:
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 on the View Properties link.
Enter the permission property into the Property Key field. The property is of the form -
jira.permission.[subtasks.]{permission...