Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Cloning guidelines for DevOps Change Velocity

Clone the DevOps Change Velocity application from one instance to another.

Note: Valid for Utah and later.

For detailed information for cloning a ServiceNow instance, see the following topics.

Base system table exclusion and preservers on global tables used in DevOps

Table nameExclude table entry present?Data preservers entry present?
For DevOps tool
sys_aliasNoNo
http_connectionYesYes
discovery_credentialsYesYes
oauth_entity_profileYesYes
oauth_entityYesYes
jwt_providerYesYes
jwt_keystore_aliasesYesYes
sys_certificateYesYes
token_verificationYesYes
sys_user_groupNoNo
For DevOps apps
cmdb_ci_business_appNoNo
cmdb_ci_sdlc_componentNoNo
cmdb_application_product_modelNoNo

Tools cloned from source instance

  • The tools that are cloned from source instance will have a Connection alias (sys_alias) associated with them.
  • The Connection record and the Credential record aren’t cloned over from the source instance since those tables are excluded.
  • Tool URL will be empty because the tool URL is dynamically calculated using connection record.
  • Connect test fails because there’s no active connection.
  • All the underlying entities like projects, plans, pipelines, repositories, work items, commits, pipeline execution, and so on must be present under the tool.
  • The tool's token isn’t cloned.
  • New webhook inbound events won’t automatically start to come to the cloned target instance for these tools. The tools must be reconfigured to receive new inbound events.

Manual steps on cloned tools

  1. Create Connection and Credential
    • Use the Create New Connection & Credential action present under the related links on the tool record or manually create the connection (http_connection) and credential (discovery_credentials) record and associate with the tool's connection alias.
    • Manually run the Connect action on the tool and make sure that the tool connection state is Connected.
  2. Regenerate token and configure
    • For the tools that support token-based webhook configuration, use the Regenerate token action from the Related Links on the tool record page.
    • Regenerating the token creates a new token in the token_verification table and creates webhooks for the tool and repos that have Configure status as Configured.
    • For the tools that don't support token-based webhooks, click Configure and enter the user name and password for the DevOps integration user.

Apps cloned from source instance

  • Apps that are cloned from the source instance will have all the app associations intact.
  • Business app and SDLC component links are maintained.
  • Manual steps aren't required after cloning.

Preserving data on target instance

Aim to preserve the existing tools, tool connections, and apps on the target instance.

Level 1 data preservers

TitleTable namePurposeSuggested filter
DevOps toolsn_devops_toolTo preserve top-level DevOps tool list.connection_state=connected^EQ to preserve all connected tools or filter on specific tool IDs.
Connection & Credential Aliasessys_aliasSpecified in DevOps tool to hold connection details.idLIKEdevops^ORidLIKEspoke^EQ to preserve all aliases related to DevOps.
DevOps appsn_devops_appTo preserve top-level DevOps App list. 

Manual steps on preserved tools after cloning

  1. Maintained by

    If the tool on the target instance had any Maintained by user groups specified before cloning, update the user groups, and set them on the tool record manually after cloning.

  2. Discover

    • Projects, pipelines, plans, and repositories aren't present for preserved tools after the clone.
    • For Azure DevOps tools, first perform Discover projects.
    • Perform Discover action on the tool or the project to bring the pipelines, plans, and repositories details.
  3. Track

    Track the required pipelines, plans, and repositories.

  4. Configure

    • Optional for tools where the webhook url holds a reference to tool sys_id only. For example, GitHub, GitLab, Jira, Bitbucket.
    • You must reconfigure Azure DevOps projects because the project sys_id has changed after rediscover.
    • Token remains the same for the tool.
    • Verify that there are no duplicate webhooks created in the third-party DevOps tool after reconfiguring.
  5. Historical import

    Use the import action or workspace to import historical data for plans, repositories, and pipelines.

Manual steps on preserved apps after cloning

  1. Maintained by

    If the app on the target instance had any Maintained by user groups specified before cloning, update the user groups, and set them on the app record manually after cloning.

  2. Associate with app

    Manually reassociate plans, repositories, and pipelines with the app.

  3. Relink to SDLC component and application model

    Manually associate the DevOps app to the SDLC component, and SDLC component to the application model.

Level 2 data preservers

Aim to preserve the data and relations under DevOps tools and DevOps apps. These preservers should be used along with the level1 preservers and manual steps.

TitleTable namePurposeSuggested filter
Plugin: DevOps Data Model
Artifact Repositorysn_devops_artifact_repositoryTop-level list of artifact repositories. Required to keep artifact repos that are associated with a preserved tool.tool=toolid^EQ, where toolid is the tool being preserved.
Artifactsn_devops_artifactTop-level list of artifacts. Required to keep artifacts that are associated with a preserved tool.artifact_repository.tool=toolid^EQ, where "toolid" is the tool being preserved.
Pipelinesn_devops_pipelineTop-level list of pipelines. Required to keep pipelines that are associated with a preserved tool.tool=toolid^EQ, where toolid is the tool being preserved.
Release Versionsn_devops_plan_versionTop-level list of release versions. Required to keep release versions that are associated with a preserved planning tool.plan.tool=toolid^EQ, where toolid is the tool being preserved.
Plansn_devops_planTop-level list of plans. Required to keep plans that are associated with a preserved planning tool.tool=toolid^EQ, where toolid is the tool being preserved.
Projectsn_devops_projectTop-level list of projects. Required to keep projects that are associated with a preserved tool. Currently supported by Azure DevOps.tool=toolid^EQ, where toolid is the tool being preserved.
Repositorysn_devops_repositoryTop-level list of repositories. Required to keep repositories that are associated with a preserved coding tool.tool=toolid^EQ, where toolid is the tool being preserved.
App to Artifact Repositorysn_devops_m2m_app_artifact_repositoryApp/Artifact Repo associations. Required to keep the relationship between preserved apps and artifact repositories.app=appid^EQ, where appid is the app being preserved.
App to Artifactsn_devops_m2m_app_artifactApp/Artifact associations. Required to keep the relationship between preserved apps and artifacts.app=appid^EQ, where appid is the app being preserved.
App to Plansn_devops_m2m_app_planApp/Plan associations. Required to keep the relationship between preserved apps and plans.app=appid^EQ, where appid is the app being preserved.
Plugin: DevOps Vulnerability Integrations
DevOps Security Orchestration Relationsn_devops_security_orchestration_relationRequired to keep the relation between DevOps entitiy (for example, pipeline) and a security tool.reference_table=sn_devops_pipeline

Custom integration data preservers

Aim to preserve the meta-data related to any custom tool integrations on the target instance. These data preservers can be used with both level1 and level2 preservers.

TitleTable namePurposeSuggested filter
Plugin: DevOps Data Model
Custom tool Integration Capabilitysn_devops_integration_capabilityRequired to keep the supported actions to integration capability mapping records of custom tool integration.tool_integration=customToolIntegrationId^EQ, where customToolIntegrationId is the sys_id of the custom tool integration.
Custom tool Integration Capability Mappingsn_devops_tool_capability_mappingRequired to keep the integration capability mapping records of custom tool integration.tool_integration=customToolIntegrationId^EQ, where customToolIntegrationId is the sys_id of the custom tool integration.
Custom DevOps Tool Integrationsn_devops_tool_integrationRequired to keep the tool integration record of custom tool integration.sys_id=customToolIntegrationId^EQ, where customToolIntegrationId is the sys_id of the custom tool integration.
Custom Tool permissionssn_devops_tool_permissionRequired to keep the permission check records of custom tool integration.tool_integration=customToolIntegrationId^EQ, where customToolIntegrationId is the sys_id of the custom tool integration.
Plugin: DevOps Workspace
Custom tool Onboarding task typesn_devops_ws_onboarding_task_typeRequired to keep the onboarding task types of custom tool integration.tool_integration=customToolIntegrationId^EQ, where customToolIntegrationId is the sys_id of the custom tool integration.

Level 3 data preservers

Aim to have all the m2m mapping intact in the target instance.

Note: The following are DevOps specific tables. If you require other data to be in place, then you can add those tables in the preservers list. For example, Change Requests.

NameTable nameApplication
Appsn_devops_appDevOps Data Model
Artifactsn_devops_artifactDevOps Data Model
Artifact Repositorysn_devops_artifact_repositoryDevOps Data Model
Artifact Staged Requestsn_devops_artifact_stagingDevOps Data Model
Artifact Versionsn_devops_artifact_versionDevOps Data Model
Base Planning Itemsn_devops_base_planning_itemDevOps Data Model
Branchsn_devops_branchDevOps Data Model
Build Test Resultsn_devops_build_test_resultDevOps Data Model
Build Test Summarysn_devops_build_test_summaryDevOps Data Model
Callbacksn_devops_callbackDevOps Data Model
Change Referencesn_devops_change_referenceDevOps Data Model
Commitsn_devops_commitDevOps Data Model
Committersn_devops_committerDevOps Data Model
Commit Detailssn_devops_commit_detailsDevOps Data Model
Contributor Score Change Factorsn_devops_contributor_score_chg_factorDevOps Data Model
Environmentsn_devops_environmentDevOps Data Model
Import Requestsn_devops_import_requestDevOps Data Model
Import Request Pagesn_devops_import_request_pageDevOps Data Model
Inbound Eventsn_devops_inbound_eventDevOps Data Model
App to Artifactsn_devops_m2m_app_artifactDevOps Data Model
App to Artifact Repositorysn_devops_m2m_app_artifact_repositoryDevOps Data Model
App to Plansn_devops_m2m_app_planDevOps Data Model
Deployed Artifact to TaskExecutionsn_devops_m2m_artifact_executionDevOps Data Model
Artifact Version to Commitsn_devops_m2m_artifact_version_commitDevOps Data Model
Artifact Version to Packagesn_devops_m2m_artifact_version_packageDevOps Data Model
Branch To Commitsn_devops_m2m_branch_commitDevOps Data Model
Run Commitsn_devops_m2m_commit_executionDevOps Data Model
Commit to Pull Requestsn_devops_m2m_commit_pull_requestDevOps Data Model
Commit To Work Itemsn_devops_m2m_commit_work_itemDevOps Data Model
Import Request to Inbound Event Mappingsn_devops_m2m_inbound_event_import_requestDevOps Data Model
Tool Integration Configuration Templatesn_devops_m2m_tool_integration_configuration_templateDevOps Data Model
Work Item To Release Versionsn_devops_m2m_work_item_plan_versionDevOps Data Model
Orchestration Tasksn_devops_orchestration_taskDevOps Data Model
Orchestration Task Definitionsn_devops_orchestration_task_definitionDevOps Data Model
DevOps Packagesn_devops_packageDevOps Data Model
Participantsn_devops_participantDevOps Data Model
Performance test summarysn_devops_performance_test_summaryDevOps Data Model
Pipelinesn_devops_pipelineDevOps Data Model
Pipeline Executionsn_devops_pipeline_executionDevOps Data Model
Plansn_devops_planDevOps Data Model
Release Versionsn_devops_plan_versionDevOps Data Model
Processed Inbound Eventsn_devops_processed_inbound_eventDevOps Data Model
Projectsn_devops_projectDevOps Data Model
Pull Requestsn_devops_pull_requestDevOps Data Model
Repositorysn_devops_repositoryDevOps Data Model
Software Quality Categorysn_devops_software_quality_categoryDevOps Data Model
Software Quality Category Detailsn_devops_software_quality_category_detailDevOps Data Model
Software Quality Scan Detailsn_devops_software_quality_scan_detailDevOps Data Model
Software Quality Scan Summarysn_devops_software_quality_scan_summaryDevOps Data Model
Software Quality Scan Summary Relationssn_devops_software_quality_scan_summary_relationsDevOps Data Model
Software Quality Sub Categorysn_devops_software_quality_sub_categoryDevOps Data Model
Stepsn_devops_stepDevOps Data Model
Step Executionsn_devops_step_executionDevOps Data Model
Tagsn_devops_tagDevOps Data Model
Task Executionsn_devops_task_executionDevOps Data Model
Test Executionsn_devops_test_executionDevOps Data Model
Test Resultsn_devops_test_resultDevOps Data Model
Test Summarysn_devops_test_summaryDevOps Data Model
Test Summary Relationssn_devops_test_summary_relationsDevOps Data Model
DevOps Toolsn_devops_toolDevOps Data Model
Tool Connection Statussn_devops_tool_connection_statusDevOps Data Model
Tool Connectivity Historysn_devops_tool_connectivity_historyDevOps Data Model
Waiting Reason Trackingsn_devops_waiting_reason_trackingDevOps Data Model
Work Itemsn_devops_work_itemDevOps Data Model

Parent Topic:Managing DevOps Change Velocity