4.2.2.2 Add members to a department (by JIRA username)
POST /rest/orgwise/2/department/{id}/member/usernames
DESCRIPTION
Add members to a department by their Jira username. Multiple members can be added at one API call.
MEDIA TYPE
application/json
PATH PARAM
Param | Description | Required |
---|---|---|
id | The ID or No. of a department. | Required |
REQUEST BODY
{
"members": "Pluto, Zelda"
}
BODY PARAM
Param | Type | Description | Required |
---|---|---|---|
members | string | Usernames of members to be added to the department, saperated by “,“. | Required |
RESPONSE
{
"code": 0,
"msg": "Success"
}