jira.js
    Preparing search index...

    Function removeCustomFieldContextFromProjects

    • Removes a custom field context from projects.

      A custom field context without any projects applies to all projects. Removing all projects from a custom field context would result in it applying to all projects.

      If any project in the request is not assigned to the context, or the operation would result in two global contexts for the field, the operation fails.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: { contextId: number; fieldId: string; projectIds: string[] }
        • contextId: number

          The ID of the context.

        • fieldId: string

          The ID of the custom field.

        • projectIds: string[]

          The IDs of projects.

      • Optionaloptions: RequestOptions

      Returns Promise<void>