jira.js
    Preparing search index...

    Function getPrecomputationsByID

    • Returns function precomputations by IDs, along with information about when they were created, updated, and last used. Each precomputation has a value - the JQL fragment to replace the custom function clause with.

      Permissions required: This API is only accessible to apps and apps can only inspect their own functions.

      The new read:app-data:jira OAuth scope is 100% optional now, and not using it won't break your app. However, we recommend adding it to your app's scope list because we will eventually make it mandatory.

      Parameters

      • client: Client
      • parameters: {
            orderBy?:
                | string & {}
                | "created"
                | "updated"
                | "functionKey"
                | "used"
                | "-created"
                | "+created"
                | "-functionKey"
                | "+functionKey"
                | "-used"
                | "+used"
                | "-updated"
                | "+updated";
            precomputationIDs?: string[];
        }
        • OptionalorderBy?:
              | string & {}
              | "created"
              | "updated"
              | "functionKey"
              | "used"
              | "-created"
              | "+created"
              | "-functionKey"
              | "+functionKey"
              | "-used"
              | "+used"
              | "-updated"
              | "+updated"

          Order the results by a field:

          • functionKey Sorts by the functionKey.
          • used Sorts by the used timestamp.
          • created Sorts by the created timestamp.
          • updated Sorts by the updated timestamp.
        • OptionalprecomputationIDs?: string[]
      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              notFoundPrecomputationIDs?: string[];
              precomputations?: {
                  arguments?: string[];
                  created?: Date;
                  error?: string;
                  field?: string;
                  functionKey?: string;
                  functionName?: string;
                  id?: string;
                  operator?: string;
                  updated?: Date;
                  used?: Date;
                  value?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >