Create a worklog set condition that will evaluate to true when the total duration (sums of durations for all worklogs) has a certain condition.
Consider supporting:
{
"_comment": "more than 40 hours in a week",
"condition": "totalDuration",
"operator": "moreThan",
"timeInMinutes": 2400
}