/
4.1.1 Get the Department Information of a Jira User
4.1.1 Get the Department Information of a Jira User
Deprecated, replace with 4.2.2.7 Get the Department Information of a Jira User
TYPE
GET
URL
/rest/orgwise/1/department/info?userNameOrKey={userNameOrKey}
MEDIA TYPE
application/json
QUERY PARAMS
Param | Description | Required |
---|---|---|
userNameOrKey | The name or key of a Jira user. | Required |
RESPONSE
{
"code": 0,
"msg": "Success",
"data": {
"id": 23,
"key": 23,
"deptNo": "D23",
"deptName": "IT",
"parentDeptName": "Finance & IT",
"parentDeptId": 29,
"parentDept": {
"id": 29,
"key": 29,
"deptNo": "D29",
"deptName": "Finance & IT",
"parentDeptName": "Sample Co. Ltd.",
"parentDeptId": 9,
"createTime": "2021-08-13 03:24:48",
"rootDepartmentId": 9,
"delete": false
},
"createTime": "2021-08-13 03:16:38",
"rootDepartmentId": 9,
"delete": false
}
}
, multiple selections available,