User Stories - Add Metadata

Updated 1 month ago by Iván Minaya

The User Stories - Add Metadata functionality is used to deploy metadata from Org to Org. If working with Git and Copado Branch Management, use the User Stories - Commit Files functionality instead to track and deploy changes from version control.

To add Metadata to a User Story you must select an Org Credential. The Environment field will automatically be populated. Once the User Story is saved, you can press the "Add Metadata" button. This will load a new window where you can select components and save these.

When Apex code is added to a User Story, the checkbox "Has Apex Code" will be automatically checked.

Trouble shooting:

Unable to add metadata to a User Story. If a message saying "Sending request" stays there and nothing happens do the following:

  1. Make sure user has CRED permissions on Push Topics and Copado Notification objects.
  2. On the developer console enter the following query: SELECT Id, Name from Attachment where ParentId = 'USER_STORY_RECORD_ID'
  3. Delete the Attachment with name: PROGRESS_STATUS_COPADO
  4. Go back to the User Story and try to add the Metadata.

How did we do?