narrowizard commented on issue #3991:
URL:
https://github.com/apache/incubator-devlake/issues/3991#issuecomment-1360795319
## More info about my jira server
- version: v8.16.1
- user lang: chinese
- partial api response
```js
// /rest/api/2/status, with translated name
[
{
"self": "http://172.26.129.92:8092/rest/api/2/status/1",
"description": "问题已经准备好让经办人开始处理。",
"iconUrl":
"http://172.26.129.92:8092/images/icons/statuses/open.png",
"name": "开放",
"id": "1",
"statusCategory": {
"self": "http://172.26.129.92:8092/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "待办"
}
}, ...
]
// /rest/agile/1.0/board/1/issue?expand=changelog
// issue's status is with translated name
// changelogs' from_string is with untranslated name
{
"expand": "schema,names",
"startAt": 0,
"maxResults": 50,
"total": 287,
"issues": [
{
"expand":
"operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "10128",
"self": "http://172.26.129.92:8092/rest/agile/1.0/issue/10128",
"key": "AAA-29",
"fields": {
// ...
"status": {
"self":
"http://172.26.129.92:8092/rest/api/2/status/10001",
"description": "",
"iconUrl": "http://172.26.129.92:8092/",
"name": "完成",
"id": "10001",
"statusCategory": {
"self":
"http://172.26.129.92:8092/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "完成"
}
},
// ...
},
"changelog": {
"startAt": 0,
"maxResults": 29,
"total": 29,
"histories": [
{
"id": "1011010",
// ...
"items": [
{
"field": "status",
"fieldtype": "jira",
"from": "10000",
"fromString": "To Do",
"to": "10000",
"toString": "To Do"
}
]
},
// ...
]
}
},
// ...
]
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]