- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
3 weeks ago - edited 3 weeks ago
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_defect
table 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_defect
table. -
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
-
-
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_identifiers
table). -
Update the Filter Conditions:
-
Add an OR condition →
reference_table = rm_defect
.
-
-
In the Advanced Script, add logic to handle the
rm_defect
reference (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