import type { IssueFilterForBulkPropertySet } from './issueFilterForBulkPropertySet';

/** Bulk issue property update request details. */
export interface BulkIssuePropertyUpdateRequest {
  /**
   * The value of the property. The value must be a [valid](https://tools.ietf.org/html/rfc4627), non-empty JSON blob.
   * The maximum length is 32768 characters.
   */
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  value?: any;
  /**
   * EXPERIMENTAL. The Jira expression to calculate the value of the property. The value of the expression must be an
   * object that can be converted to JSON, such as a number, boolean, string, list, or map. The context variables
   * available to the expression are `issue` and `user`. Issues for which the expression returns a value whose JSON
   * representation is longer than 32768 characters are ignored.
   */
  expression?: string;
  filter?: IssueFilterForBulkPropertySet;
}
