📖 Step by step - Time in status

The time functionality in the status is divided into two parts.

The first is general search functions for which no additional configuration is required. They work right after installing the plugin.

Common

  • issue in timeInStatus(“statuses”, “condition”, “time”) - Find tasks that have spent the specified time in statuses.
    • Params:
    • statuses - name or id, Comma separated
  • issue in timeInStatusByJql(“jql”, “statuses”, “condition”, “time”) - Find tasks from a jql request that have spent the specified time in statuses.
    • Params:
    • jql - query for filter tasks
    • statuses - name or id, Comma separated
  • issue in timeInStatusByJqlAndWorkCalendar(“jql”, “statuses”, “condition”, “time”, “calendar”) - Find tasks from a jql request that spent the specified working time in statuses. Working hours will be calculated according to the specified calendar.
    • Params:
    • jql - query for filter tasks
    • statuses - name or id, Comma separated
    • calendar - work calendar name or id for calculate work time

These functions are presented in user help.

The Jira administrator can customize how these functions work: adjust performance and the number of processed values in real time. You can also configure limited access to these search functions. Performance config JQL

The second part is working with time through the configured “Time in status” fields.

Each field can count how much time the task spent in the specified status or statuses. The statuses are specified in the field settings. Fields store intermediate values in indexes and are faster processed in real-time searches. In the field, you can specify execution contexts, specify additional options for timing, customize the display and access to the value. By the "Time in status" fields, you can also sort tasks, build reports and export them.

1. Create a new field “Time in status”, Then set contexts and screens.

2. After creating the field, go to its settings:

  1. time in status fields
  2. time in status field config
  3. time in status field config

Specify the statuses in which you want to count the time and save the settings. For the search to work, you also need to run the reindx for jira or for the project. Search indexing

After re-indexing, search functions for fields will be available

Search by state

  • “field name” in active() - Search by active time in status fields(issue in selected statuses)
  • “field name” in inactive() - Search by inactive time in status fields(issue not in selected statuses)

Search by time

  • “field name” in time(“condition”, “time”) - Search by time in status fields(by total time in selected statuses)/Timer field. Time value from index.
  • “field name” in realTime(“condition”, “time”) - Search by time in status fields(by total time in selected statuses)/Timer field. Time value calculate realtime.
  • “field name” in realTimeBetween(“time”, “time”) - Search by realtime in status fields(by total time in selected statuses). Time value calculate realtime.

  • Examples:
    • “Time in new” in realTime(“>”, “20m”) AND “First reaction” in realTime(“<”, “1h”)
    • “Time in new” in realTimeBetween(“1h”, “2h”)

These functions are presented in user help.


User JQL help
📖 How to create Timer and configure it step-by-step
JiBrok message field Message field
JiBrok time in status Time in status | SLA | Timer | Stopwatch
Tutorials
Settings
Work calendars
Time in status
Timers and Stopwatches
Stopwatch
Timer
Additional functions
Issue panels
Reports
Field Helpers
Other fields
API
Reference information
JiBrok Switch to User + Delegating SU (Jira) Switch to User + Delegating SU (Jira)
JiBrok time in status Time in status for Jira Cloud
Work calendars
Time in status fields
Issue panels
Reports
Service tools
Reference information
JiBrok Calculated fields Calculated fields (JBCF)
JiBrok Calculated fields Calculated fields (JBCF) for Jira Cloud
JBCF fields
Service tools
JiBrok Timer Timer field | SLA for Jira Cloud
Work calendars
Timer fields
Issue panels
Service tools
JiBrok Stopwatch Stopwatch for Jira Cloud
Work calendars
Stopwatch fields
Issue panels
Service tools
JiBrok Time between dates Time between dates for Jira Cloud
Time between dates fields
JiBrok Fields panel for Jira Service Management (JSM) Fields panel for Jira Service Management (JSM)
JiBrok Display Linked Issues Display Linked Issues
User helper for JiBrok cloud apps User helper for JiBrok cloud apps