fix(jira): fix connection check timeout (#12742)

Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
This commit is contained in:
Pedro Martín
2026-09-04 15:51:09 +02:00
committed by GitHub
co-authored by alejandrobailo
parent 8bdb597921
commit 1edcf6e5de
20 changed files with 681 additions and 206 deletions
+28
View File
@@ -12,6 +12,34 @@ export const INTEGRATION_TYPE = {
export type IntegrationType =
(typeof INTEGRATION_TYPE)[keyof typeof INTEGRATION_TYPE];
export const INTEGRATION_CONNECTION_TASK_KIND = "integration-connection-test";
export interface IntegrationConnectionTaskResource {
id: string;
type: "tasks";
}
export interface IntegrationConnectionTaskDocument {
data: IntegrationConnectionTaskResource;
}
export interface IntegrationConnectionTaskResult {
connected?: boolean;
error?: string | null;
/** The failing channel id, or null when the failure names no channel. */
channel?: string | null;
}
export interface IntegrationConnectionTestResponse {
success: boolean;
message?: string;
taskId?: string;
data?: IntegrationConnectionTaskDocument;
error?: string;
/** The failing channel id, or null when the failure names no channel. */
failedChannelId?: string | null;
}
export const JIRA_DISPATCH_MODE = {
INDIVIDUAL: "individual",
GROUPED: "grouped",