The default Log Work on Issue Operation is proposed depending on Work On Issue Permission defined in Permission Scheme.
Kaamelot extends Worklog Service and Workflow Manager in order to provide new Conditions to allow the Work On Issue.
An issue is workable until a predefined Worflow MetaAttribut, on the current Workflow step of the issue, do unauthorize it.
This predefined Worflow MetaAttribut is defaultly set to JiraWorkflowMetaAttributes.JIRA_META_ATTRIBUTE_WORKABLE_ISSUE (jira.issue.workable).
Then, if in a Workflow step, an issue is marked as not editable, it will be not workable.
Note, that the MetaAttribut may be modified by setting the applicationProperties IsWorkable.Worflow.MetaAttribute" to new value.
For example, you may set the applicationProperties IsWorkable.Worflow.MetaAttribute to jira.issue.workable.
Also, you may specify in workflow steps, the MetaAttribut jira.issue.workable to True or False.
This notion may be implemented by Atlassian ?
This options may be also defined at the Edit Action level in order to be appliable for all steps.
Condition defined at Step level will override those defined at Edit Action level.
Defaultly, JIRA allow Worklog update through EDIT WORLOG Permission.
Kaamelot extends this control as follow ...
A Worklog is updatable if :