Bitbucket Data Center API Client
    Preparing search index...

    Interface CreateTaskData

    Payload for POST /rest/api/latest/projects/{key}/repos/{slug}/pull-requests/{id}/blocker-comments.

    interface CreateTaskData {
        anchor?: {
            fileType?: "FROM" | "TO";
            line?: number;
            lineType?: "CONTEXT" | "ADDED" | "REMOVED";
            path?: string;
            srcPath?: string;
        };
        text: string;
    }
    Index

    Properties

    Properties

    anchor?: {
        fileType?: "FROM" | "TO";
        line?: number;
        lineType?: "CONTEXT" | "ADDED" | "REMOVED";
        path?: string;
        srcPath?: string;
    }

    Anchor the task to a specific file/line, mirroring a regular comment anchor.

    text: string