We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Anand Biswas
ServiceNow Employee

Overview

By default, the rm_defect and other custom tables in ServiceNow do not include an External Identifier field required for Jira/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 the rm_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

  1. Navigate to System Definition > Tables.

  2. Open the rm_defect table.

  3. 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

  4. Save the changes.

Screenshot 2025-08-22 at 3.51.15 PM.png


Step 2: Update "Populate External Identifier Reference" Business Rule

  1. Navigate to System Definition > Business Rules.

  2. Open the Business Rule: Populate External Identifier Reference (on sn_int_common_external_identifiers table).

  3. Update the Filter Conditions:

    • Add an OR conditionreference_table = rm_defect. 

Screenshot 2025-08-22 at 3.50.22 PM.png

  1. In the Advanced Script, add logic to handle the rm_defect reference (ensure script correctly maps the new field).

Screenshot 2025-08-22 at 3.49.37 PM.png


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 Jira/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 Jira/Azure DevOps integration currently does not mention these manual steps. Updates to the docs are planned.


Related Documentation

Comments
trwblanchard
Tera Contributor

Hi @Anand Biswas thanks for this info! For the 'sn_int_common_external_identifiers' table, is this generic enough to be used to store external references for other/custom integrations, or is the expectation that this is only really used for the DevOps integrations?

Version history
Last update:
‎05-26-2026 01:24 AM
Updated by: