跳到主要内容

汇总模式工作项工时详情

GET 

https://your-domain/openapi/v2/project/issues/:issueID/workLog/summary/timesSpent/:timesSpentID

汇总模式获取工作项工时详情

History

VersionChanges
v6.0.44Added in: v6.0.44

Request

Path Parameters

    issueID stringrequired

    工作项ID

    timesSpentID stringrequired

    工时ID

Query Parameters

    teamID stringrequired

    团队ID

Responses

请求成功

Schema

    result string

    本次请求结果,SUCCESS|FAIL

    data

    object

    本次请求返回的数据

    description string

    描述

    id string

    工时ID

    hours integer

    工时,单位(小时)

    startTime integer

    登记工时开始时间,格式为时间戳

    startDate string

    预估工时开始时间,格式为YYYY-MM-DD

    owner

    object

    工时登记人信息

    id string

    工时登记人ID

    name string

    工时登记人名称

    workLogRecordType string

    Possible values: [timesEstimated, timesSpent]

    • timesEstimated: 预估工时
    • timesSpent: 登记工时
    errorCode string

    本次请求错误码

    errorMsg string

    本次请求错误信息

curl -L 'https://your-domain/openapi/v2/project/issues/:issueID/workLog/summary/timesSpent/:timesSpentID' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://your-domain/openapi/v2
Auth
Parameters
— pathrequired
— pathrequired
— queryrequired
ResponseClear

Click the Send API Request button above and see the response here!