DevopsQualityGateRule

Defines the criteria that must be evaluated as part of a quality gate assessment within the DevOps process. Each rule specifies a validation condition, such as severity, pass percentage, or essential test requirements, along with an optional threshold value. These rules are used to determine whether a quality gate passes or fails before allowing progression through the deployment pipeline. This object is available in API version XX.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
DevopsQualityGateId
Type
reference
Properties
Create, Filter, Group, Sort
Description
References the quality gate to which this rule belongs.
Relationship Name
DevopsQualityGate
Relationship Type
Master-detail
Refers To
DevopsQualityGate (the parent object)
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record indirectly, such as through a related record or list view.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
System-generated unique identifier for the quality gate rule record.
Rule
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the rule used to evaluate the quality gate.
Possible values are:
  • ESSENTIAL
  • PASS_PERCENTAGE
  • SEVERITY
The default value is SEVERITY.
Threshold
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Defines the threshold value used when evaluating the quality gate rule.