Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
session: a token obtained from a session_init () call
team: Reference or TEAM CODE of the parent TEAM (where the member is assigned). Depending on the type of parent TEAM, some ROLES may be prohibited
member: reference of the USER or TEAM to which we want to assign the ROLES as a member of the parent TEAM. To differentiate between a USER or a TEAM, the reference must be built as the concatenation of the word “USER” or “TEAM” and the reference of the member, separated by a pipe (“|”) character. Example: “USER|2332”
Output parameters:
result/role_list: XML with the list of ROLES. Each ROLE contains:
role: Information about each ROLE
ref: Reference of the ROLE (e.g. 24 = CASE MANAGER)
name: Description of the ROLE in the active SESSION language
profiles/profile: list of profiles. Some ROLES have a sub-classification in "profiles" (sub-roles). For example, roles "Team Manager" and "Program Manager" are considered profiles of the parent ROLE “Admin”. See ROLE OBJECT.
ref: Reference of the ROLE (e.g. 24 = CASE MANAGER)
name: Description of the ROLE in the active SESSION language
ErrorMsg: If any error occurs, then this value contains a description of the error translated to the current language
ErrorCode: If any error occurs, then this value contains any of the standard ERROR CODES