/
Time in status field/Timer/Stopwatch/SLA - REPORT experimental REST API

Time in status field/Timer/Stopwatch/SLA - REPORT experimental REST API

Time in status

for issue: 

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusByAssignee/issue/{issueKeyOrId}

by jql: 

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusByAssignee/jql

Time in status for transition history

for issue: 

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusBeforeTransition/issue/{issueKeyOrId}

by jql: 

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusBeforeTransition/jql

examples:

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusByAssignee/issue/KEY-1?asFile=true&exportFormat=csv

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusByAssignee/jql?jql=Project=TEST&asFile=true&exportFormat=csv

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusBeforeTransition/issue/${issueKeyOrId}?asFile=true&exportFormat=csv

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusBeforeTransition/jql?jql=Key=TEST-1&calendarId=1

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusByAssignee/issue/KEY-1?calendarId=1

  • {baseUrl}/rest/jibrok/timeinstatus/1.0/reports/timeInStatusByAssignee/issue/KEY-1

params:

jql

for queries with jql. Takes into account user rights and "count limit" on the number of issued queries from JQL settings

valid values: any valid jql string

calendarId

If the parameter is not specified, then the calendar is taken in accordance with the settings of the panel for current issue.

valid values: (number) calendar ID, default (get calendar from "Default config for all projects")

statusesOrder

If the parameter is not specified, then the calendar is taken in accordance with the settings of the panel for current issue.

valid values(in any register): NAME_ASC, NAME_DESC, ID_ASC, ID_DESC, TIME_ASC, TIME_DESC, DEFAULT

timeFormat

If the parameter is not specified, then the calendar is taken in accordance with the settings of the panel for current issue.

valid values(in any register):DEFAULT, D1, D2... time formats

userFormat

valid values(in any register): 

  • LOGIN - is default value

  • DISPLAY_NAME

  • LOGIN_AND_DISPLAY_NAME

  • DISPLAY_NAME_AND_LOGIN

exportFormat

valid values(in any register): JSON, CSV, DEFAULT

asFile

opens a report in a browser or downloads as a file.

valid values(boolean): true, false

separator

for CSV export format valid values: any string. for example ";", ",", "---"

Related pages