Functions take the following parameters.
- condition - one of the characters <, <=, => =,>. For example: ā>ā.
- calendar - the name or id of the calendar. For example: āSupportā or ā1ā. How to view calendars?
- stopwatch config id and stopwatch scheme id - number. Jira admin can view it.
- time - time string corresponding to one of the patterns.
"5h35m12s" - 5 hours 35 minutes 12 seconds
"5h12s" - 5 hours 12 seconds
3000m - 3000 minutes
"0", "0s" ... - time is zero.
"5h12s" - 5 hours 12 seconds
3000m - 3000 minutes
"0", "0s" ... - time is zero.
Search works through the field. Therefore, all JQLs begin with the field name.
Search functions in the āStopwatchā field.
Work when search engine is connected Search Templates
JQL Functions
āStopwatch fieldā in active()
- Returns tasks that have a stopwatch is running
- If the stopwatch uses a calendar, the field may indicate that it is not working hours. This does not affect the search if stopwatch is running.
āStopwatch fieldā in inactive()
- Returns tasks that have a stopwatch is pause, stopped.
āStopwatch fieldā in isPaused()
- Returns tasks that have a stopwatch is paused. Breaks in the work calendar are not considered a pause. But can be displayed in the field as a pause.
āStopwatch fieldā in isRunning()
- Returns tasks that have a stopwatch is running. A break in the working calendar does not affect the search. The stopwatch may be in state running, but at the same time the field will be displayed as a pause state.
āStopwatch fieldā in isStopped()
- Returns tasks that have a stopwatch is stopped.
āStopwatch fieldā in timeSpent(āconditionā, ātimeā)
- Returns tasks for which the stopwatch has already counted the specified time. Those. The stopwatch was active(in state Running) for the specified time.
āStopwatch fieldā in realTimeSpent(āconditionā, ātimeā)
- Returns tasks for which the stopwatch has already counted the specified time. Those. The stopwatch was active(in state Running) for the specified time.
- The function works in real time.
- It has a limit on the size of the issue. JQL config
- The function is suitable for sampling active counters. Real-time reporting, work queues of tasks with reference to reaction time, execution ā¦
āStopwatch fieldā in pauseTime(āconditionā, ātimeā)
- Returns tasks for which the stopwatch has already counted the specified time.
āStopwatch fieldā in realPauseTime(āconditionā, ātimeā)
- Returns tasks for which the stopwatch has already counted the specified time.
- The function works in real time.
- It has a limit on the size of the issue. JQL config
- The function is suitable for sampling active counters. Real-time reporting, work queues of tasks with reference to reaction time, execution ā¦
Search by date
- āfield nameā in startInDay(ānumberā) - Search for issues by the day when the stopwatch was first started.
- āfield nameā in startInWeek(ānumberā) - Search for issues by the week when the stopwatch was first started.
-
āfield nameā in startInMonth(ānumberā) - Search for issues by the month when the stopwatch was first started.
- āfield nameā in stopInDay(ānumberā) - Search for issues by the day when the stopwatch was stopped.
- āfield nameā in stopInWeek(ānumberā) - Search for issues by the week when the stopwatch was stopped.
-
āfield nameā in stopInMonth(ānumberā) - Search for issues by the month when the stopwatch was stopped.
- āfield nameā in pauseInDay(ānumberā) - Search for issues by the day when the stopwatch was paused.
- āfield nameā in pauseInWeek(ānumberā) - Search for issues by the week when the stopwatch was paused.
-
āfield nameā in pauseInMonth(ānumberā) - Search for issues by the month when the stopwatch was paused.
- Examples:
- āFirst responseā in startInDay() - find tasks for which the stopwatch has started today.
- āFirst responseā in startInDay(ā-1ā) - find tasks for which the stopwatch started yesterday (1 day ago).
- āFirst responseā in startInDay(ā-7ā) - find tasks for which a stopwatch started a week ago (7 days ago).
- āfield nameā in searchByStartDate(āconditionā, ādateā) - Search for issues by the date when the stopwatch was first started.
- āfield nameā in searchByPausedDate(āconditionā, ādateā) - Search for issues by the date when the stopwatch was last paused.
-
āfield nameā in searchByStopDate(āconditionā, ādateā) - Search for issues by the date when the stopwatch was stopped.
- date - date string in the format āyyyy-MM-ddā or āyyyy-MM-dd HH:mmā
- Examples:
- āFirst responseā in searchByStartDate(ā>ā, ā2021-01-01ā) - issues for which stopwatch started after ā2021-01-01ā
- āfield nameā in startInDateRange(ādateā,ādateā) - Search for issues by the date when the stopwatch was started (duration).
-
āfield nameā in stopInDateRange(ādateā,ādateā) - Search for issues by the date when the stopwatch was stopped (duration).
- Examples:
- āFirst responseā in stopInDateRange(ā2020-01-01ā, ā2021-01-01ā) - issues for which stopwatch stopped during 2020 year.
āStopwatch fieldā in searchByCalendar(ācalendarIdā)
- Returns tasks whose stopwatch uses the specified attribute.
āStopwatch fieldā in searchByStopwatchConfig(āstopwatchConfigIdā)
- Returns tasks whose stopwatch uses the specified attribute.
- Id can be found with Jira admin.
āStopwatch fieldā in searchByStopwatchScheme(āstopwatchSchemeIdā)
- Returns tasks whose stopwatch uses the specified attribute.
- Id can be found with Jira admin.