In the Workflow transition properties you can set diverse permissions restrictions like this: jira.permission.comment.group=group jira.permission.comment.denied=true/false jira.permission.edit.group.1=group1 jira.permission.edit.group.2=group2 jira.permission.modifyreporter.user=username jira.permission.delete.projectrole=10000 jira.permission.subtasks.delete.projectrole=10000 jira.permission.close.user=username jira.issue.editable=false … You can see more permissions and terminology in this link
Read MoreJQL Custom Function UserInRole (with Groovy for JIRA)
JQL Syntax sample: project = XXX AND issueFunction in UserInRole(” “, assignee, “Developer”) // note the space in the first parameter, this syntax is less efficient issueFunction in UserInRole(” project = XXX “, assignee, “Developer”) //more efficient issueFunction in UserInRole(” project = XXX “, reporter, “Developer”)
Read More