Empty source items
Detection
- String:
Required field is missing: sharingOwnerRules
- String:
Required field is missing: standardValue
- String:
Required field is missing: valueTranslation
Examples
Error Account Required field is missing: sharingOwnerRules
Resolution
You probably retrieved empty items, that must not be in the SFDX project.
- Remove them with sf hardis:project:clean:emptyitems
- Add emptyItems to autoCleanTypes in .sfdx-hardis.yml, so sfdx-hardis removes them each time a User Story is saved (https://sfdx-hardis.cloudity.com/salesforce-devops-config-cleaning/)