When Restriction Rule is created on UI, it is possible to create it without description.

But if you try to retrieve it and deploy to another org, the following error is displayed:

Error  Keep_Tasks_Private  Required field is missing: description

ERROR running force:source:deploy:  Deploy failed.

1 Answer 1


I believe there is a bug in UI since it is mentioned in Metadata API that a description is required

description string Required. The description of the rule.

Update: Salesforce published a Known Issue for this



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .