Hi, new to DevOps so please bear with me...
Trying to promot Work Item from Dev to QA and getting this error. Field does not exist on Dev org (removed by Dev) but was available as a selection.
Can I remove (how ?) from the committed changes so I can promote ? or is there any other workaround ?
__DEPLOY__The deployment of the work items into the next stage failed.
destructiveChanges.xml of Type CustomField failed to deploy due to No CustomField named: Account_Plan__c.User__c found
Mark... I know that this is an old posting but I'm also new to DevOps and was recently getting the same error. Was PULLING my hair out trying everything to figure it out. I'm posting what I did to fix in hopes it helps someone else.
My error:
Creative_Brief__c-Creative Brief Layout of Type Layout failed to deploy due to In field: field - no CustomField named Creative_Brief__c.Theme__c found
The problem is that I didn't have a custom field in the Object or on the page layout called "Theme". Since the field is not there... why am I getting this error! I'm trying to promote changes from UAT to Staging. Worked promoting to UAT so why won't it work with Staging????
On a whim... decided to look at the XML for my page layout for Creative_Brief in Github for the branch of UAT. Guess what I found....
<layoutItems>
<behavior>Edit</behavior>
<field>Theme__c</field>
</layoutItems>
I downloaded the XML file as a precaution. Clicked on Edit to edit the file. Removed the code and saved. Committed the change. Tried to promote AGAIN the changes from UAT to Staging and BOOM... worked like a charm.