@pagopa/danger-plugin
Version:
Shared rules for DangerJS, used in the PagoPA projects
9 lines (8 loc) • 470 B
TypeScript
/**
* Implements the methods to connect to the Jira api and receive the list of tickets / stories
*/
import * as TE from "fp-ts/lib/TaskEither";
import { JiraIssueResponse } from "./types";
export declare const JIRA_HOST_NAME = "pagopa.atlassian.net";
export declare const getJiraIssue: (id: string) => TE.TaskEither<Error, JiraIssueResponse>;
export declare const getJiraIssues: (ids: ReadonlyArray<string>) => TE.TaskEither<Error, ReadonlyArray<JiraIssueResponse>>;