How can I deploy the Opportunity Stage picklist of my Sandbox to production? I've retrieved it with ANT but can't deploy it...

I've retrieved from the sandbox, changed some text in the description and deploy to the same sandbox, expecting to see the change, but nothing happens... No error message...


package.xml section


OportunityStage.standardValueSet section

    <description>Stage Test 1</description>
  • What API version are you using in the deployment? – David Reed Jul 1 '20 at 20:08
  • Hi David! I'm using 48 – ram lou Jul 1 '20 at 21:05
  • 1
    Sounds good. Could you edit your post to describe the failure mode in more detail? Include any errors verbatim and describe what happens when you perform the deployment. – David Reed Jul 1 '20 at 21:07
  • 2
    1) StandardValueSet doesn't support wildcard (*) in package.xml – cropredy Jul 1 '20 at 22:26
  • 1
    Can you edit 'StageTest1' lov on stage field and check if you see any description? I tried with below and it worked. <StandardValueSet xmlns="soap.sforce.com/2006/04/metadata"> <sorted>false</sorted> <standardValue> <fullName>Test3</fullName> <default>false</default> <description>Stage Test 1</description> <label>Test3</label> <closed>false</closed> <forecastCategory>Pipeline</forecastCategory> <probability>80</probability> <won>false</won> </standardValue> </StandardValueSet> – Vinay Jul 2 '20 at 6:29

StandardValueSet doesn't support the wildcard (*) in package.xml. Remove that line and simply use:


Note also when adding/changing/deleting StageName, you should also deploy BusinessProcess

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.