forcedotcom / devops-center-feedback

61 stars 2 forks source link

Cannot find standard fields #194

Closed lbenetti closed 2 years ago

lbenetti commented 2 years ago

Describe the bug I'm trying to commit the metadata and I found a limitation. In the scenario I used, I included new values in the Lead Status picklist, but I am not able to view this change using Pull Changes, and not even do this using the Add Components Manually feature. I know I need to commit the Lead object, the CustomField (Lead.Status) and the Standard Value Set (LeadStatus.standardValueSet), but I can't find any standard fields (all objects) and the stardard value set using Add Components Manually feature. By the way, the .forceignore doesn't have any exclude rule.

To Reproduce Steps to reproduce the behavior:

  1. Go to Work Item
  2. Click on Add Components Manually
  3. Select the CustomField component type.
  4. Search for Lead.Status
  5. The field doesn't appear

Expected behavior Display the field to select

Screenshots image

franciscoperezsammartino commented 2 years ago

Hi @lbenetti ,

I followed the steps you mentioned and after pulling changes I was able to see that file pulled.

Screen Shot 2022-07-11 at 12 10 18

Can you please confirm you are able to see that too?

We are still verifying why the custom field is available to be chosen from the 'Add Manually' dialog.

Thanks!

lbenetti commented 2 years ago

Hi @franciscoperezsammartino,

When pulling changes after modifying de picklist values, I can successfully add de StandardValueSet. Still, if I try to add the StandardValueSet manually, the behavior is the same as when trying to add standard CustomField.

Thank you for your attention.

franciscoperezsammartino commented 2 years ago

Hi @lbenetti , Can you please tell us the reason why you are trying to manually add the Lead.Status field and the Lead.object? Does the commit or promotion fail if you add just the standard value set?

In case it is needed, we have a story to add the ability to select standard fields/objects from the add components manually dialog. Here is the github issue where this was found: https://github.com/forcedotcom/devops-center-feedback/issues/189

Thanks again!

RupertBarrow commented 1 year ago

Hi @GilsonCanario , please could you add a link to the duplicat issue # before closing ? Thanks