jira.js
    Preparing search index...

    Function getComponentById

    • Retrieve the currently stored Component data for the given ID.

      The result will be what is currently stored, ignoring any pending updates or deletes.

      Only Connect apps that define the jiraDevOpsComponentProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

      Parameters

      • client: Client
      • parameters: { componentId: string }
        • componentId: string

          The ID of the Component to fetch.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              avatarUrl: string;
              componentType: | string & {}
              | "Service"
              | "Application"
              | "Library"
              | "Capability"
              | "Cloud resource"
              | "Data pipeline"
              | "Machine learning model"
              | "UI element"
              | "Website"
              | "Other";
              description: string;
              id: string;
              lastUpdated: Date;
              name: string;
              providerName?: string;
              schemaVersion: string & {}
              | "1.0";
              tier: string & {} | "Tier 1" | "Tier 2" | "Tier 3" | "Tier 4";
              updateSequenceNumber: number;
              url: string;
              [key: string]: unknown;
          },
      >