Open
Description
Summary
Trying to retrieve any RestrictionRule metadata results in Warning: Nothing retrieved
error
Steps To Reproduce
Run command sf project retrieve start -m RestrictionRule
Also tried sf project retrieve start -m RestrictionRule:Foo
Sample Repository Commit with Metadata.
Note: sf project deploy start -m CustomObject:Demo__c -m RestrictionRule
deploys the metadata successfully.
Expected result
RestrictionRule metadata is retrieved to project source
Actual result
No metadata retrieved
Additional information
System Information
cmd.exe
{
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.70.7",
"nodeVersion": "node-v22.12.0",
"osVersion": "Windows_NT 10.0.26100",
"rootPath": "C:\\Users\\...\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
"shell": "cmd.exe",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.13 (core)",
"@oclif/plugin-commands 4.1.13 (core)",
"@oclif/plugin-help 6.2.19 (core)",
"@oclif/plugin-not-found 3.2.30 (core)",
"@oclif/plugin-plugins 5.4.22 (core)",
"@oclif/plugin-search 1.2.17 (core)",
"@oclif/plugin-update 4.6.17 (core)",
"@oclif/plugin-version 2.2.17 (core)",
"@oclif/plugin-warn-if-update-available 3.1.26 (core)",
"@oclif/plugin-which 3.2.20 (core)",
"@salesforce/cli 2.70.7 (core)",
"apex 3.6.7 (core)",
"api 1.3.2 (core)",
"auth 3.6.80 (core)",
"community 3.2.22 (user) published 199 days ago (Sat Jun 22 2024) (latest is 3.3.7)",
"data 3.13.1 (core)",
"deploy-retrieve 3.15.20 (core)",
"info 3.4.27 (core)",
"limits 3.3.42 (core)",
"marketplace 1.3.7 (core)",
"org 5.2.9 (core)",
"packaging 2.9.6 (core)",
"schema 3.3.44 (core)",
"settings 2.4.9 (core)",
"signups 2.2.1 (user) published 269 days ago (Sat Apr 13 2024) (latest is 2.6.9)",
"sobject 1.4.46 (core)",
"telemetry 3.6.27 (core)",
"templates 56.3.33 (core)",
"trust 3.7.50 (core)",
"user 3.6.4 (core)",
"sfdx-git-delta 5.34.0 (user) published 357 days ago (Tue Jan 16 2024) (latest is 5.52.0)"
]
}