【发布时间】:2016-08-18 16:23:00
【问题描述】:
我目前正在使用 JIRA REST API 来检索使用以下路线的项目中的工单所花费的时间:
/rest/agile/1.0/board/{boardId}/sprint/{sprintId}/issue
在issues 之一中,我收到以下与时间有关的数据:
"timetracking": {
"remainingEstimate": "9w 1d",
"timeSpent": "4d",
"remainingEstimateSeconds": 1324800,
"timeSpentSeconds": 115200
},
将秒数转换为天数时,结果为 1.33333333 天,其中 timeSpent 指定 4 天。
为什么timeSpent 和timeSpentSeconds 不相加,有没有办法解决这个问题以确保它们相匹配?
【问题讨论】:
标签: json rest jira jira-rest-api