Jira.js - Jira Cloud API library
    Preparing search index...

    Interface AssignPermissionScheme

    interface AssignPermissionScheme {
        expand?:
            | string
            | string[]
            | ("user" | "group" | "projectRole" | "all" | "field" | "permissions")[];
        id: number;
        projectKeyOrId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    expand?:
        | string
        | string[]
        | ("user" | "group" | "projectRole" | "all" | "field" | "permissions")[]

    Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include:

    • all Returns all expandable information.
    • field Returns information about the custom field granted the permission.
    • group Returns information about the group that is granted the permission.
    • permissions Returns all permission grants for each permission scheme.
    • projectRole Returns information about the project role granted the permission.
    • user Returns information about the user who is granted the permission.
    id: number

    The ID of the permission scheme to associate with the project. Use the Get all permission schemes resource to get a list of permission scheme IDs.

    projectKeyOrId: string

    The project ID or project key (case sensitive).