Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

PUT /rest/orgwise/3/member/{userNameOrKey}

DESCRIPTION

Modify the superior supervisor, gender, phone number, role, comments, or other extended properties of a member. You can modify one or more of the above information attributes at once. Information modification will generate change records.

MEDIA TYPE

application/json

PATH PARAM

Param

Description

Required

userNameOrKey

The user name or key of a Jira user.

Required

REQUEST BODY

{
    "no":"E1",
    "superior":"amy",
    "gender":"MALE",
    "phone":1555668444,
    "roles":"EMPLOYEE,ADMIN",
    "memo":""
    "memberProperties":[{"id":33,"value":"1,2"}]
}

BODY PARAM

Param

Type

Description

Required

no

string

Member number, combination of letters and numbers.

Optional

gender

string

Gender: MALE, FEMALE, UNKNOWN

Optional

superior

string

Member supervisor, user name of Jira user

Optional

phone

string

Phone number, no more than 25 characters

Optional

roles

string

Member role, role name, split with ",".

Optional

memo

string

Memo

Optional

memberProperties

array

Custom field attribute, id: Custom field id, value: Custom field value

RESPONSE

{
    "code": 0,
    "msg": "Success""
}

  • No labels