+ Start a Discussion
GAURAV SETHGAURAV SETH 

How to set username subscribe to queue when migrating into scratch org

I have few queues in partner org to whom some users are subscribed.
I am migrating those to my scratch org using package.xml.
I am gettign error as those users do no exists in my scratch org.
How to resolve this issue ?

In field: userName - no User named "my user " found
Error  force-app/main/default/queues/ADJ_Queue.queue-meta.xml            
Please guide.

Thanks                                
SwethaSwetha (Salesforce Developers) 
HI Gaurav,
As per user's note in https://salesforce.stackexchange.com/questions/266136/push-queue-and-create-its-users-in-scratch-org , this appears to be a salesforce known issue and the fix is scheduled in future release.
 
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you