/
Before Timesheet Submit/Revoke
Before Timesheet Submit/Revoke
You can execute execute a Groovy script just before usual handling of timesheet submission/revoke and stop the submission process by returning an error message. Returned message will be shown to user submitting/revoking his/her timesheet. If you don’t return anything from this script normal submission workflow will run and if everything is okey, user’s timesheet will be submitted/revoked.
Within this script you can access Jira services, WorklogPRO services and services from other plugins. You can use TimesheetApprovalRequest parameter to access values submitted by the user.
Related content
Prevent Users to Submit Their Timesheet If Daily Required Hours are not Completed
Prevent Users to Submit Their Timesheet If Daily Required Hours are not Completed
Read with this
Pre Worklog Entry Scripts
Pre Worklog Entry Scripts
Read with this
Worklog Scripts
Worklog Scripts
Read with this