jira.js
    Preparing search index...

    Function createCustomFieldContext

    • Creates a custom field context.

      If projectIds is empty, a global context is created. A global context is one that applies to all project. If issueTypeIds is empty, the context applies to all issue types.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: {
            description?: string;
            fieldId: string;
            id?: string;
            issueTypeIds?: string[];
            name: string;
            projectIds?: string[];
        }
        • Optionaldescription?: string

          The description of the context.

        • fieldId: string

          The ID of the custom field.

        • Optionalid?: string

          The ID of the context.

        • OptionalissueTypeIds?: string[]

          The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.

        • name: string

          The name of the context.

        • OptionalprojectIds?: string[]

          The list of project IDs associated with the context. If the list is empty, the context is global.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              description?: string;
              id?: string;
              issueTypeIds?: string[];
              name: string;
              projectIds?: string[];
              [key: string]: unknown;
          },
      >