create-adobug-azure-helper
Version:
A helper library for Azure DevOps automation functions (bug creation, test result update, step logging, etc.)
17 lines (16 loc) • 581 B
TypeScript
export declare class CreateBugADOHelper {
private azureUrl;
private adoProjectName;
private moduleUserMapping;
constructor(azureUrl: string, adoProjectName: string, initialMapping?: Record<string, string>);
private decryptPAT;
createBugInADO(moduleName: string, bugTitle: string, bugDescription: string, steps: {
step: string;
status: string;
}[], failedStep: string, attachmentDirPath: string, userDetails: {
iv: string;
encryptedData: string;
key: string;
}): Promise<void>;
private uploadAttachment;
}