Returns the for the project role.
required: Administer Jira .
643 matches
100 actions
The Jira Cloud platform REST
100 actions
Other/The Jira Cloud platform REST
Returns the for the project role.
required: Administer Jira .
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
}
},
"required": [
"id"
],
"additionalProperties": false
}{
"type": "object",
"description": "Details about the roles in a project.",
"properties": {
"actors": {
"type": "array",
"description": "The list of users who act in this role.",
"items": {
"type": "object",
"description": "Details about a user assigned to a project role.",
"properties": {
"actorGroup": {
"type": "object"
},
"actorUser": {
"type": "object"
},
"avatarUrl": {
"type": "string",
"format": "uri",
"description": "The avatar of the role actor."
},
"displayName": {
"type": "string",
"description": "The display name of the role actor. For users, depending on the user’s privacy setting, this may return an alternative value for the user's name."
},
"id": {
"type": "integer",
"format": "int64",
"description": "The ID of the role actor."
},
"name": {
"type": "string",
"description": "This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details."
},
"type": {
"type": "string",
"description": "The type of role actor.",
"enum": [
"atlassian-group-role-actor",
"atlassian-user-role-actor"
]
}
},
"additionalProperties": false
}
},
"admin": {
"type": "boolean",
"description": "Whether this role is the admin role for the project."
},
"currentUserRole": {
"type": "boolean",
"description": "Whether the calling user is part of this role."
},
"default": {
"type": "boolean",
"description": "Whether this role is the default role for the project"
},
"description": {
"type": "string",
"description": "The description of the project role."
},
"id": {
"type": "integer",
"format": "int64",
"description": "The ID of the project role."
},
"name": {
"type": "string",
"description": "The name of the project role."
},
"roleConfigurable": {
"type": "boolean",
"description": "Whether the roles are configurable for this project."
},
"scope": {
"description": "The scope of the role. Indicated for roles associated with [next-gen projects](https://confluence.atlassian.com/x/loMyO).",
"type": "object"
},
"self": {
"type": "string",
"format": "uri",
"description": "The URL the project role details."
},
"translatedName": {
"type": "string",
"description": "The translated name of the project role."
}
},
"additionalProperties": false
}