/
4.1.2 Get the Member Information of a Jira User
4.1.2 Get the Member Information of a Jira User
Deprecated, replace with 4.1.2 Get the Member Information of a Jira User
TYPE
GET
URL
/rest/orgwise/1/employee/info?userNameOrKey={userNameOrKey}&extendImage=true
MEDIA TYPE
application/json
QUERY PARAMS
Param | Description | Required |
---|---|---|
userNameOrKey | The name or key of a Jira user. | Required |
extendImage | Make result data includes fields of type “Image”. Boolean. Default is false. | Optional |
RESPONSE
{
"code": 0,
"msg": "Success",
"data": {
"id": 46,
"key": 46,
"deptId": 39,
"depts": "39",
"onJob": true,
"employeeName": "Jeff",
"email": "jeff@p.com",
"jiraUserKey": "JIRAUSER10134",
"avatar": "http://192.168.80.15:31786/secure/useravatar?size=xsmall&avatarId=10351",
"workNumber": "E47",
"sex": "MALE",
"roles": "2",
"jiraUser": {
"userKey": "JIRAUSER10134",
"avatar": "http://192.168.80.15:31786/secure/useravatar?size=xsmall&avatarId=10351",
"userName": "jeff",
"displayName": "Jeff",
"emailAddress": "jeff@p.com"
},
"department": {
"id": 39,
"key": 39,
"deptNo": "D39",
"deptName": "IT",
"parentDeptName": "Finance & IT",
"parentDeptId": 35,
"parentDept": {
"id": 35,
"key": 35,
"deptNo": "D35",
"deptName": "Finance & IT",
"parentDeptName": "Sample Co.,Ltd.",
"parentDeptId": 31,
"type": "DEPARTMENT",
"createTime": "2021-08-16 05:45:10",
"rootDepartmentId": 31,
"delete": false
},
"type": "DEPARTMENT",
"createTime": "2021-08-16 05:53:04",
"rootDepartmentId": 31,
"delete": false
},
"mainDeptFlag": false,
"superior": {
"mainDeptFlag": false
},
"createTime": "2021-08-16 05:53:57",
"customFieldValues": [
{
"customFieldBean": {
"id": 12,
"name": "Post",
"type": "SINGLE_TEXT",
"typeName": "Single Line Text",
"systemField": false,
"systemFieldKey": ""
},
"value": "PM",
"label": "PM"
}
]
}
}
, multiple selections available,