Interface JiraNodeParameters

Source
interface JiraNodeParameters {
    accountId?: string;
    additionalFields?:
        | {
            assignee?: { mode: "id"
            | "list"; value: string };
            componentIds?: unknown[];
            customFieldsUi?: {
                customFieldsValues: {
                    fieldId?: { mode: "id" | "list"; value: string };
                    fieldValue?: string;
                }[];
            };
            description?: string;
            labels?: unknown[];
            parentIssueKey?: string;
            priority?: { mode: "id"
            | "list"; value: string };
            reporter?: { mode: "id" | "list"; value: string };
            serverLabels?: string;
            updateHistory?: boolean;
        }
        | {
            expand?: string;
            fields?: string;
            fieldsByKey?: boolean;
            properties?: string;
            updateHistory?: boolean;
        }
        | {
            htmlBody?: string;
            subject?: string;
            textBody?: string;
        }
        | {
            expand?: string;
            skipRemoteOnlyCondition?: boolean;
            transitionId?: string;
        }
        | { notification?: boolean; password?: string }
        | { expand?: ("groups" | "applicationRoles")[] };
    attachmentId?: string;
    binaryProperty?: string;
    binaryPropertyName?: string;
    comment?: string;
    commentId?: string;
    commentJson?: string;
    deleteSubtasks?: boolean;
    displayName?: string;
    download?: boolean;
    emailAddress?: string;
    issueKey?: string;
    issueType?: { mode: "id" | "list"; value: string };
    jiraVersion?: "cloud" | "server" | "serverPat";
    jsonParameters?: boolean;
    limit?: number;
    notificationRecipientsJson?: string;
    notificationRecipientsRestrictionsJson?: string;
    notificationRecipientsRestrictionsUi?: {
        notificationRecipientsRestrictionsValues: {
            groups?: unknown[];
            users?: unknown[];
        };
    };
    notificationRecipientsUi?: {
        notificationRecipientsValues: {
            assignee?: boolean;
            groups?: unknown[];
            reporter?: boolean;
            users?: unknown[];
            voters?: boolean;
            watchers?: boolean;
        };
    };
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "add"
    | "remove"
    | "delete"
    | "changelog"
    | "notify"
    | "transitions";
    options?: | {
        expand?: (
            | "names"
            | "operations"
            | "changelog"
            | "transitions"
            | "editmeta"
            | "renderedFields"
            | "schema"
            | "versionedRepresentations"
        )[];
        fields?: string;
        fieldsByKey?: boolean;
        jql?: string;
    }
    | { expand?: "renderedBody"; wikiMarkup?: boolean }
    | { expand?: "renderedBody" }
    | {
        expand?: "renderedBody";
        orderBy?: "+created" | "-created";
    };
    project?: { mode: "id"
    | "list"; value: string };
    resource?:
        | "user"
        | "issue"
        | "issueAttachment"
        | "issueComment";
    returnAll?: boolean;
    simplifyOutput?: boolean;
    summary?: string;
    updateFields?: {
        assignee?: { mode: "id"
        | "list"; value: string };
        customFieldsUi?: {
            customFieldsValues: {
                fieldId?: { mode: "id" | "list"; value: string };
                fieldValue?: string;
            }[];
        };
        description?: string;
        issueType?: string;
        labels?: unknown[];
        parentIssueKey?: string;
        priority?: { mode: "id"
        | "list"; value: string };
        reporter?: { mode: "id" | "list"; value: string };
        serverLabels?: string;
        statusId?: { mode: "id" | "list"; value: string };
        summary?: string;
    };
    username?: string;
}

Properties§

Source§

readonly accountId?: string

Account ID of the user to delete

Source§

readonly additionalFields?:
    | {
        assignee?: { mode: "id"
        | "list"; value: string };
        componentIds?: unknown[];
        customFieldsUi?: {
            customFieldsValues: {
                fieldId?: { mode: "id" | "list"; value: string };
                fieldValue?: string;
            }[];
        };
        description?: string;
        labels?: unknown[];
        parentIssueKey?: string;
        priority?: { mode: "id"
        | "list"; value: string };
        reporter?: { mode: "id" | "list"; value: string };
        serverLabels?: string;
        updateHistory?: boolean;
    }
    | {
        expand?: string;
        fields?: string;
        fieldsByKey?: boolean;
        properties?: string;
        updateHistory?: boolean;
    }
    | {
        htmlBody?: string;
        subject?: string;
        textBody?: string;
    }
    | {
        expand?: string;
        skipRemoteOnlyCondition?: boolean;
        transitionId?: string;
    }
    | { notification?: boolean; password?: string }
    | { expand?: ("groups" | "applicationRoles")[] }

Default: {}

Source§

readonly attachmentId?: string

The ID of the attachment

Source§

readonly binaryProperty?: string

Default: "data"

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly comment?: string

Comment's text

Source§

readonly commentId?: string

The ID of the comment

Source§

readonly commentJson?: string

The Atlassian Document Format (ADF). Online builder can be found here.

Source§

readonly deleteSubtasks?: boolean

Source§

readonly displayName?: string

Source§

readonly download?: boolean

Source§

readonly emailAddress?: string

Source§

readonly issueKey?: string

Source§

readonly issueType?: { mode: "id" | "list"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly jiraVersion?: "cloud" | "server" | "serverPat"

Default: "cloud"

Source§

readonly jsonParameters?: boolean

Source§

readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}

Source§

readonly notificationRecipientsJson?: string

The recipients of the email notification for the issue Type options: {"alwaysOpenEditWindow":true}

Source§

readonly notificationRecipientsRestrictionsJson?: string

Restricts the notifications to users with the specified permissions Type options: {"alwaysOpenEditWindow":true}

Source§

readonly notificationRecipientsRestrictionsUi?: {
    notificationRecipientsRestrictionsValues: {
        groups?: unknown[];
        users?: unknown[];
    };
}

Restricts the notifications to users with the specified permissions Default: {} Type options: {"multipleValues":false}

Source§

readonly notificationRecipientsUi?: {
    notificationRecipientsValues: {
        assignee?: boolean;
        groups?: unknown[];
        reporter?: boolean;
        users?: unknown[];
        voters?: boolean;
        watchers?: boolean;
    };
}

The recipients of the email notification for the issue Default: {} Type options: {"multipleValues":false}

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "add"
    | "remove"
    | "delete"
    | "changelog"
    | "notify"
    | "transitions"

Default: "create"

Source§

readonly options?:
    | {
        expand?: (
            | "names"
            | "operations"
            | "changelog"
            | "transitions"
            | "editmeta"
            | "renderedFields"
            | "schema"
            | "versionedRepresentations"
        )[];
        fields?: string;
        fieldsByKey?: boolean;
        jql?: string;
    }
    | { expand?: "renderedBody"; wikiMarkup?: boolean }
    | { expand?: "renderedBody" }
    | {
        expand?: "renderedBody";
        orderBy?: "+created" | "-created";
    }

Default: {}

Source§

readonly project?: { mode: "id" | "list"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly resource?: "user" | "issue" | "issueAttachment" | "issueComment"

Default: "issue"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly simplifyOutput?: boolean

Whether to return a simplified version of the response instead of the raw data

Source§

readonly summary?: string

Source§

readonly updateFields?: {
    assignee?: { mode: "id" | "list"; value: string };
    customFieldsUi?: {
        customFieldsValues: {
            fieldId?: { mode: "id" | "list"; value: string };
            fieldValue?: string;
        }[];
    };
    description?: string;
    issueType?: string;
    labels?: unknown[];
    parentIssueKey?: string;
    priority?: { mode: "id"
    | "list"; value: string };
    reporter?: { mode: "id" | "list"; value: string };
    serverLabels?: string;
    statusId?: { mode: "id" | "list"; value: string };
    summary?: string;
}

Default: {}

Source§

readonly username?: string