Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Index

Table of Contents
minLevel1
maxLevel7

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 Block
languagejson
{
    code 0,
    msg Success,
    data {
        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 054510,
            rootDepartmentId 31,
            delete false
        },
        type DEPARTMENT,
        createTime 2021-08-16 055304,
        rootDepartmentId 31,
        delete false
    }
}

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

...

languagejson

...

Child pages (Children Display)