jira.js
    Preparing search index...

    Function changeObjectTypePosition

    • Change position of this object type

      Parameters

      • client: Client
      • parameters: { id: string; position: number; toObjectTypeId?: string }
        • id: string
        • position: number

          The preffered position

        • OptionaltoObjectTypeId?: string

          The desired new parent of the object type

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              abstractObjectType: boolean;
              created: Date;
              description?: string;
              globalId: string;
              icon: {
                  id: string;
                  name: string;
                  url16: string;
                  url48: string;
                  [key: string]: unknown;
              };
              id: string;
              inherited: boolean;
              name: string;
              objectCount: number;
              objectSchemaId: string;
              parentObjectTypeId?: number;
              parentObjectTypeInherited: boolean;
              position: number;
              type?: number;
              updated: Date;
              workspaceId: string;
              [key: string]: unknown;
          },
      >