JiBrok "Time in status" Jira rest api (5.0.0 (This page await update))

Download OpenAPI specification:Download

Site JiBrok.com. Description of publicly rest api for Plugin Time in status. BASE REST URL - http://{baseUrl}/rest/jibrok/timeinstatus/1.0

util

System service

reset all cache in plugin

Responses

stopwatch

Stopwatch management service

use action "start" to stopwatch custom field

/stopwatchManager/start?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

use action "pause" to stopwatch custom field

/stopwatchManager/pause?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

use action "stop" to stopwatch custom field

/stopwatchManager/stop?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

use action "restart" to stopwatch custom field

/stopwatchManager/restart?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

delete timers from timer custom field

/stopwatchManager/deleteTimers?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

delete timers in issues by jql from timer custom field

/stopwatchManager/deleteTimersByJql?jql=key=TEST-1&customFieldId=10000

query Parameters
jql
string
customFieldId
number

Responses

report

Service for generate reports

Report time in status before transition

/reports/timeInStatusBeforeTransition/jql?jql=Project=TEST&timeFormat=D1&asFile=true

query Parameters
jql
string
calendarId
string

default or number

timeFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
exportFormat
string (exportFormat)
Enum: "JSON" "CSV" "DEFAULT"

default - from report settings

separator
string

download report as file(true) or view in browse

asFile
boolean

download report as file(true) or view in browse

Responses

Report time in status before transition

/reports/timeInStatusBeforeTransition/issue?issueIdOrKey=10000&timeFormat=D1&asFile=true

query Parameters
issueIdOrKey
string
calendarId
string

default or number

timeFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
exportFormat
string (exportFormat)
Enum: "JSON" "CSV" "DEFAULT"

default - from report settings

separator
string

download report as file(true) or view in browse

asFile
boolean

download report as file(true) or view in browse

Responses

Report time in status before transition

/reports/timeInStatusByAssignee/jql?jql=Project=TEST&timeFormat=D1&asFile=true

query Parameters
jql
string
calendarId
string

default or number

timeFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
exportFormat
string (exportFormat)
Enum: "JSON" "CSV" "DEFAULT"

default - from report settings

separator
string

download report as file(true) or view in browse

asFile
boolean

download report as file(true) or view in browse

statusesOrder
string (statusesOrder)
Enum: "NAME_ASC" "NAME_DESC" "ID_ASC" "ID_DESC" "TIME_ASC" "TIME_DESC" "DEFAULT"

Responses

Report time in status before transition

/reports/timeInStatusBeforeTransition/issue?issueIdOrKey=10000&timeFormat=D1&asFile=true

query Parameters
issueIdOrKey
string
calendarId
string

default or number

timeFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
exportFormat
string (exportFormat)
Enum: "JSON" "CSV" "DEFAULT"

default - from report settings

separator
string

download report as file(true) or view in browse

asFile
boolean

download report as file(true) or view in browse

statusesOrder
string (statusesOrder)
Enum: "NAME_ASC" "NAME_DESC" "ID_ASC" "ID_DESC" "TIME_ASC" "TIME_DESC" "DEFAULT"

Responses

time in status field configuration

Get all time in status field configuarations

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get time in status field configuaration

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "fieldConfigId": 0,
  • "statuses": [
    ],
  • "showAsPanel": true,
  • "showAsPanelSW": true,
  • "calAfterMove": true,
  • "calAfterLastTransition": true,
  • "anonymousAccess": true,
  • "showField": "TOTAL_TIME",
  • "showPanel": "TOTAL_TIME",
  • "calendarId": 0,
  • "roles": [
    ],
  • "groups": [
    ],
  • "users": [
    ],
  • "showFieldFormat": "DEFAULT",
  • "showPanelFormat": "DEFAULT",
  • "cache": true,
  • "anonymousAccessToValue": true,
  • "rolesAccessToValue": [
    ],
  • "groupsAccessToToValue": [
    ],
  • "usersAccessToToValue": [
    ],
  • "fieldShowIcon": true,
  • "panelShowIcon": true,
  • "showExportFormat": "DEFAULT",
  • "showEmptyValue": true,
  • "statusesOrder": "NAME_ASC",
  • "showParentValue": true,
  • "showCStatus": true
}

Delete time in status field configuaration

path Parameters
id
required
number

Responses

Create time in status field configuaration

Request Body schema: application/json
id
integer
fieldConfigId
integer
statuses
Array of strings
showAsPanel
boolean
showAsPanelSW
boolean
calAfterMove
boolean
calAfterLastTransition
boolean
anonymousAccess
boolean
showField
string (showType)
Enum: "TOTAL_TIME" "TIME_IN_STATUS"

TOTAL_TIME - calculate total time in statuses. TIME_IN_STATUS - collect time for each status separately

showPanel
string (showType)
Enum: "TOTAL_TIME" "TIME_IN_STATUS"

TOTAL_TIME - calculate total time in statuses. TIME_IN_STATUS - collect time for each status separately

calendarId
number
roles
Array of numbers
groups
Array of strings
users
Array of strings
showFieldFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
showPanelFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
cache
boolean
anonymousAccessToValue
boolean
rolesAccessToValue
Array of numbers
groupsAccessToToValue
Array of strings
usersAccessToToValue
Array of strings
fieldShowIcon
boolean
panelShowIcon
boolean
showExportFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
showEmptyValue
boolean
statusesOrder
string (statusesOrder)
Enum: "NAME_ASC" "NAME_DESC" "ID_ASC" "ID_DESC" "TIME_ASC" "TIME_DESC" "DEFAULT"
showParentValue
boolean
showCStatus
boolean

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "fieldConfigId": 0,
  • "statuses": [
    ],
  • "showAsPanel": true,
  • "showAsPanelSW": true,
  • "calAfterMove": true,
  • "calAfterLastTransition": true,
  • "anonymousAccess": true,
  • "showField": "TOTAL_TIME",
  • "showPanel": "TOTAL_TIME",
  • "calendarId": 0,
  • "roles": [
    ],
  • "groups": [
    ],
  • "users": [
    ],
  • "showFieldFormat": "DEFAULT",
  • "showPanelFormat": "DEFAULT",
  • "cache": true,
  • "anonymousAccessToValue": true,
  • "rolesAccessToValue": [
    ],
  • "groupsAccessToToValue": [
    ],
  • "usersAccessToToValue": [
    ],
  • "fieldShowIcon": true,
  • "panelShowIcon": true,
  • "showExportFormat": "DEFAULT",
  • "showEmptyValue": true,
  • "statusesOrder": "NAME_ASC",
  • "showParentValue": true,
  • "showCStatus": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "fieldConfigId": 0,
  • "statuses": [
    ],
  • "showAsPanel": true,
  • "showAsPanelSW": true,
  • "calAfterMove": true,
  • "calAfterLastTransition": true,
  • "anonymousAccess": true,
  • "showField": "TOTAL_TIME",
  • "showPanel": "TOTAL_TIME",
  • "calendarId": 0,
  • "roles": [
    ],
  • "groups": [
    ],
  • "users": [
    ],
  • "showFieldFormat": "DEFAULT",
  • "showPanelFormat": "DEFAULT",
  • "cache": true,
  • "anonymousAccessToValue": true,
  • "rolesAccessToValue": [
    ],
  • "groupsAccessToToValue": [
    ],
  • "usersAccessToToValue": [
    ],
  • "fieldShowIcon": true,
  • "panelShowIcon": true,
  • "showExportFormat": "DEFAULT",
  • "showEmptyValue": true,
  • "statusesOrder": "NAME_ASC",
  • "showParentValue": true,
  • "showCStatus": true
}

Update time in status field configuaration

Request Body schema: application/json
id
integer
fieldConfigId
integer
statuses
Array of strings
showAsPanel
boolean
showAsPanelSW
boolean
calAfterMove
boolean
calAfterLastTransition
boolean
anonymousAccess
boolean
showField
string (showType)
Enum: "TOTAL_TIME" "TIME_IN_STATUS"

TOTAL_TIME - calculate total time in statuses. TIME_IN_STATUS - collect time for each status separately

showPanel
string (showType)
Enum: "TOTAL_TIME" "TIME_IN_STATUS"

TOTAL_TIME - calculate total time in statuses. TIME_IN_STATUS - collect time for each status separately

calendarId
number
roles
Array of numbers
groups
Array of strings
users
Array of strings
showFieldFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
showPanelFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
cache
boolean
anonymousAccessToValue
boolean
rolesAccessToValue
Array of numbers
groupsAccessToToValue
Array of strings
usersAccessToToValue
Array of strings
fieldShowIcon
boolean
panelShowIcon
boolean
showExportFormat
string (showFormat)
Enum: "DEFAULT" "D0" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D18" "D19" "D20" "D21" "D23" "D24" "D26" "D27" "D29" "D30" "D32" "D33" "D35" "D36" "D38" "D39" "D41" "D42"
showEmptyValue
boolean
statusesOrder
string (statusesOrder)
Enum: "NAME_ASC" "NAME_DESC" "ID_ASC" "ID_DESC" "TIME_ASC" "TIME_DESC" "DEFAULT"
showParentValue
boolean
showCStatus
boolean

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "fieldConfigId": 0,
  • "statuses": [
    ],
  • "showAsPanel": true,
  • "showAsPanelSW": true,
  • "calAfterMove": true,
  • "calAfterLastTransition": true,
  • "anonymousAccess": true,
  • "showField": "TOTAL_TIME",
  • "showPanel": "TOTAL_TIME",
  • "calendarId": 0,
  • "roles": [
    ],
  • "groups": [
    ],
  • "users": [
    ],
  • "showFieldFormat": "DEFAULT",
  • "showPanelFormat": "DEFAULT",
  • "cache": true,
  • "anonymousAccessToValue": true,
  • "rolesAccessToValue": [
    ],
  • "groupsAccessToToValue": [
    ],
  • "usersAccessToToValue": [
    ],
  • "fieldShowIcon": true,
  • "panelShowIcon": true,
  • "showExportFormat": "DEFAULT",
  • "showEmptyValue": true,
  • "statusesOrder": "NAME_ASC",
  • "showParentValue": true,
  • "showCStatus": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "fieldConfigId": 0,
  • "statuses": [
    ],
  • "showAsPanel": true,
  • "showAsPanelSW": true,
  • "calAfterMove": true,
  • "calAfterLastTransition": true,
  • "anonymousAccess": true,
  • "showField": "TOTAL_TIME",
  • "showPanel": "TOTAL_TIME",
  • "calendarId": 0,
  • "roles": [
    ],
  • "groups": [
    ],
  • "users": [
    ],
  • "showFieldFormat": "DEFAULT",
  • "showPanelFormat": "DEFAULT",
  • "cache": true,
  • "anonymousAccessToValue": true,
  • "rolesAccessToValue": [
    ],
  • "groupsAccessToToValue": [
    ],
  • "usersAccessToToValue": [
    ],
  • "fieldShowIcon": true,
  • "panelShowIcon": true,
  • "showExportFormat": "DEFAULT",
  • "showEmptyValue": true,
  • "statusesOrder": "NAME_ASC",
  • "showParentValue": true,
  • "showCStatus": true
}

timer

Timer management service

use action "start" to timer custom field

/timerManager/start?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

use action "pause" to timer custom field

/timerManager/pause?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

use action "stop" to timer custom field

/timerManager/stop?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

use action "restart" to timer custom field

/timerManager/restart?issueKey=TEST-1&customFieldId=10000

query Parameters
issueKey
string
issueId
number
customFieldId
number

Responses

autoTrackService

PUT autoTrackService

Responses

POST autoTrackService

Responses

GET autoTrackService/all

Responses

GET autoTrackService/checkForUser/{userName}

path Parameters
userName
any

Responses

GET autoTrackService/{id}

path Parameters
id
any

Responses

DELETE autoTrackService/{id}

path Parameters
id
any

Responses

stopwatchConfigService

PUT stopwatchConfigService

Responses

POST stopwatchConfigService

Responses

GET stopwatchConfigService/all

Responses

POST stopwatchConfigService/copy

Responses

GET stopwatchConfigService/resetCache

Responses

POST stopwatchConfigService/restore/{id}

path Parameters
id
any

Responses

GET stopwatchConfigService/{id}

path Parameters
id
any

Responses

DELETE stopwatchConfigService/{id}

path Parameters
id
any
query Parameters
withoutRestore
any

Responses

stopwatchSchemeService

PUT stopwatchSchemeService

Responses

POST stopwatchSchemeService

Responses

GET stopwatchSchemeService/all

Responses

GET stopwatchSchemeService/getForProject/{projectId}

path Parameters
projectId
any

Responses

POST stopwatchSchemeService/restore/{id}

path Parameters
id
any

Responses

GET stopwatchSchemeService/{id}

path Parameters
id
any

Responses

DELETE stopwatchSchemeService/{id}

path Parameters
id
any
query Parameters
withoutRestore
any

Responses

worklogSettingService

PUT worklogSettingService

Responses

POST worklogSettingService

Responses

GET worklogSettingService/all

Responses

GET worklogSettingService/{id}

path Parameters
id
any

Responses

DELETE worklogSettingService/{id}

path Parameters
id
any

Responses