ServiceNow Integration

The integration between PractiTest and ServiceNow allows you to share information between the two systems.

With this integration, you can import ServiceNow tickets into PractiTest, map ServiceNow fields to PractiTest fields, and keep synced field values updated in both systems. This helps teams connect ServiceNow work management with their testing process, including requirements coverage, issue tracking, traceability, and more.

Note: ServiceNow integration is available only for Cloud instances.

Configure ServiceNow Integration

To connect ServiceNow with PractiTest, you first need to register PractiTest as an OAuth application in ServiceNow.

This is a one-time setup performed by an Account Owner.

Step 1: Copy the Redirect URI from PractiTest

In PractiTest:

  1. Go to Account Settings → Integrations
  2. Open the ServiceNow integration settings
  3. Copy the read-only Redirect URI field

You will need this Redirect URI when creating the OAuth application in ServiceNow.

servicenow redirect uri

Step 2: Register PractiTest as an OAuth Application in ServiceNow

In ServiceNow:

  1. Go to Machine Identity Console → Inbound integrations
  2. Click New integration
  3. Select OAuth, Authorization Code Grant
servicenow application connection type selection

Once you get to application registration screen, you should use the following configurations:

  • Name: PractiTest, or another recognizable name
  • Provider Name: PractiTest
  • Redirect URL: Paste the Redirect URI copied from PractiTest in the previous step
  • Client Secret: Leave blank. ServiceNow will generate it automatically
  • Allow access only to APIs in selected scope: Unchecked

Important note: Make sure you UNCHEKED the ‘Allow access only to APIs in selected scope’ option.

Click Submit to create the OAuth application.

servicenow new integration screen

Step 3: Copy the Client ID and Client Secret

In the ServiceNow OAuth application record:

  1. Copy the Client ID
  2. Reveal and copy the Client Secret

You will need both values to complete the setup in PractiTest.

Step 4: Save the OAuth Client in PractiTest

In PractiTest:

  1. Go back to Account Settings → Integrations
  2. Open the ServiceNow integration settings
  3. Enter your ServiceNow Instance URL, example: https://your-instance.service-now.com
  4. Paste the ServiceNow OAuth Client ID
  5. Paste the ServiceNow OAuth Client Secret
  6. Click Save OAuth Client

After saving, PractiTest will display a confirmation message.

Note: Saving the OAuth client confirms that the settings were saved in PractiTest. The full connection is verified when a user links their personal ServiceNow account successfully.

Link Your Personal ServiceNow Account

After the OAuth client is configured, users need to link their personal ServiceNow account to PractiTest.

This allows PractiTest to perform ServiceNow-related actions according to the connected user’s ServiceNow permissions.

Users can link their account in one of two ways:

  • Performing a ServiceNow-related action in PractiTest, such as importing a ticket
  • Going to Personal Settings, finding the ServiceNow section, and clicking the link to connect the user account

The user will be redirected to ServiceNow to log in and approve the connection.

After approval, PractiTest will display a confirmation that the account was linked successfully.

Activate ServiceNow in a Project

After the account-level setup is complete, activate the integration in the relevant PractiTest project.

Note: this can be done only by Project Admin.

To activate the integration:

  1. Go to Project Settings → Integrations
  2. Open the ServiceNow integration settings
  3. Activate the ServiceNow integration for the project

Opening the ServiceNow integration settings for the first time creates the connection for that project.

Project Mapping

In the General tab, you can select the ServiceNow project you want to sync with the PractiTest project.

If your ServiceNow instance includes additional suites or modules, such as SPM, the integration may display project options from those modules. You can then select the relevant project from the list and define which ServiceNow data should be synced with PractiTest.

If no additional ServiceNow project-related modules are available, the integration will display Default Project.

servicenow default project

To configure Project Mapping:

  1. Go to Project Settings → Integrations
  2. Open the ServiceNow integration settings
  3. Open the General tab
  4. Select the relevant ServiceNow projects to sync
  5. Click Update Settings to save your changes

Mapping ServiceNow Entities to PractiTest

After activating the integration, configure how supported ServiceNow ticket types are synchronized with PractiTest.

PractiTest currently supports the following ServiceNow ticket types, when available in your ServiceNow instance:

  • Requirement
  • Defect

Either ServiceNow type can be configured under Requirement Synchronization or Issue Synchronization, depending on how you want the ticket to be represented in PractiTest.

You can also enable Do not enforce mapping under General Settings. This allows ServiceNow tickets to be imported without requiring a predefined ticket-type mapping.

Once configured, PractiTest synchronizes ServiceNow tickets according to the mapping defined for the project.

Mapping Fields Between ServiceNow and PractiTest

You can map fields between ServiceNow and PractiTest from the ServiceNow integration settings.

Field mapping allows selected ServiceNow field values to appear in PractiTest and remain synced between the two systems.

By default, the following fields are mapped automatically:

  • Title
  • Description
  • Status

Additional fields, such as priority, environment, version, or custom fields, should be mapped manually. Supported ServiceNow field types for mapping include:

  • List
  • Text
  • Date
  • DateTime
  • Number

After mapping all relevant fields, save the integration settings to apply your changes.

servicenow fields mapping

Import ServiceNow Tickets to PractiTest

After configuring entity mapping, you can import ServiceNow tickets into PractiTest from the Requirements or Issues module, depending on the entity type you want to create.

To import ServiceNow tickets:

  1. Go to the Requirements or Issues module
  2. Click on New Requirement or New Issue Dropdown 
  3. Select Import Ticket from ServiceNow
  4. Enter one or more (comma separated) ServiceNow ticket numbers
  5. Click Import

You can import one ticket or several tickets at once by entering comma-separated ticket numbers.

import ticket servicenow

Two-Way Field Sync

After a ServiceNow ticket is synced with PractiTest, mapped field values can be updated from either system.

When a mapped field is updated in PractiTest, the change is reflected in the synced ServiceNow ticket. When the mapped field is updated in ServiceNow, the change is reflected in PractiTest.

This helps teams keep testing and work management data aligned across both systems.

Creating ServiceNow Issues from Test Runs

When executing a Test in PractiTest, you can report a new ServiceNow Issue directly from the Test Run.

To create a ServiceNow Issue:

  1. Create or open a Run from the Test Sets & Runs module.
  2. Locate the Test step where you want to report the Issue.
  3. Click New Issue and select Fail and Report ServiceNow Issue.
fail and issue with servicenow integration

4. In the Create Issue in ServiceNow window, select the relevant ServiceNow project and ticket type.
5. Enter the Issue details, including the name and description.
6. Click Create Issue.

new fail and issue modal servicenow

The Test step is marked as Failed, and the Issue is created in ServiceNow. A matching synced Issue is also created in PractiTest and linked to the corresponding Test step, allowing the Issue to remain synchronized between both systems.

When applicable, you can also associate the new Issue with existing PractiTest Requirements.

Share

In This Page

See it on your workflow, with your tools.