Populate External Identifier on Custom Tables for Azure DevOps Agile Development Integration
New article articles in ServiceNow Community
·
Aug 22, 2025
·
article
Overview
By default, the rm_defect and other custom tables in ServiceNow do not include an External Identifier field required for Azure DevOps (ADO) integration. To enable this, you must manually configure a reference field and extend the existing Populate External Identifier Reference Business Rule.
This article provides the steps to configure the External Identifier reference on a custom table (e.g., rm_defect).
Issue
- Following the ServiceNow documentation for populating external identifier references on a custom table may not work out of the box.
- Running
gr.isValidField('external_identifier')on therm_defecttable returns false. - This is because the External Identifier field is not available by default on the custom table.
Resolution
Step 1: Add External Identifier Column to rm_defect
- Navigate to System Definition > Tables.
- Open the
rm_defecttable. - Create a new field with the following properties:
- Type: Reference
- Reference Table:
sn_int_common_external_identifiers - Column Name (example):
u_external_identifier - Column Label (example): External Identifier
- Type: Reference
- Save the changes.
Step 2: Update "Populate External Identifier Reference" Business Rule
- Navigate to System Definition > Business Rules.
- Open the Business Rule: Populate External Identifier Reference (on
sn_int_common_external_identifierstable). - Update the Filter Conditions:
- Add an OR condition →
reference_table = rm_defect.
- Add an OR condition →
- In the Advanced Script, add logic to handle the
rm_defectreference (ensure script correctly maps the new field).
Step 3: Validate
- Navigate to any record in
rm_defect. - The new External Identifier field should now display references from
sn_int_common_external_identifiers. - Ensure synchronization between Azure DevOps and ServiceNow reflects in this field.
Additional Notes
- Apply the same configuration for other custom tables (e.g.,
rm_scrum_task) if needed. - The official ServiceNow documentation for Azure DevOps integration currently does not mention these manual steps. Updates to the docs are planned.
- For comparison, you can also refer to the Jira integration guide (similar approach):
Populate external identifier reference fields on a custom table
Related Documentation
View original source
https://www.servicenow.com/community/spm-articles/populate-external-identifier-on-custom-tables-for-azure-devops/ta-p/3359244