I would like to do a work log verification.
So use webwork1 and alias to rewrite ‘CreateWorklog’, as follows.
<webwork1 key="nz_validate_worklog" name="validate worklog" i18n-name-key="validateworklog.name" class="java.lang.Object">
<description key="validateworklog.description">validate worklog</description>
<actions>
<action name="com.rednuo.check4worklog.validateWorklog.ExtCreateWorklogs" alias="CreateWorklog">
</action>
</actions>
</webwork1>
Class is
@ComponentScan("ExtCreateWorklogs")
public class ExtCreateWorklogs extends CreateWorklog//extends JiraWebActionSupport implements OperationContext
{
private static final Logger log = LoggerFactory.getLogger(ExtCreateWorklogs.class);
public ExtCreateWorklogs(
WorklogService worklogService, CommentService commentService, ProjectRoleManager projectRoleManager, JiraDurationUtils jiraDurationUtils, DateTimeFormatterFactory dateTimeFormatterFactory, FieldVisibilityManager fieldVisibilityManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, UserUtil userUtil, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, SubTaskManager subTaskManager, AttachmentHelper attachmentHelper) {
super(worklogService, commentService, projectRoleManager, jiraDurationUtils, dateTimeFormatterFactory, fieldVisibilityManager, fieldLayoutManager, rendererManager, userUtil, fieldScreenRendererFactory, fieldManager, subTaskManager, attachmentHelper);
}
@Override
protected void doValidation() {
super.doValidation();
}
....
@JiraImport
JiraDurationUtils error
not found
I need help