Connectors

/

ServiceNow

/

Escalate a ServiceNow record to a Jira issue
Write
Cross-Connector

Escalate ServiceNow incidents to Jira once, with the trail intact

For service desk leads who want a ServiceNow incident or problem raised as a Jira issue without duplicates, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Escalate a ServiceNow record to a Jira issue
Escalate INC0012345 from ServiceNow to the PAY project in Jira as a bug.
No Jira issue carries INC0012345 yet, so this will be a new escalation. - Project: PAY, type Bug - Summary: [INC0012345] Card payments time out at checkout - Assignee: Jordan Lee, matched by email Shall I create it and add the key to the incident?
ServiceNow
Sample figures. Your results come from your own account.
servicenow-get-incident
servicenow-get-problem
jira-get-issue
jira-get-issue-type
servicenow-get-user
jira-get-user
jira-add-issue
jira-add-issue-comment
servicenow-update-incident
servicenow-update-problem
jira-get-issue-watcher

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

ServiceNow

ServiceNow
Run it on your own ServiceNow data.

Connect ServiceNow, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Escalations to development that lose their trail

Escalating an incident or problem to development means writing a Jira issue by hand, finding the project and type, looking up the assignee and noting the key back in ServiceNow. Steps get skipped, so issues are raised twice or the desk loses track.

Without PopdockAI

  • Copy the incident details into a new Jira issue
  • Look up the issue type and assignee
  • Forget to check for an existing issue
  • Forget to note the Jira key in ServiceNow

With PopdockAI

  • Jira is checked for an issue that already carries the number
  • The issue type is resolved and the assignee mapped by email
  • You see the issue before anything is written
  • The Jira key is added as a ServiceNow work note

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Escalate ServiceNow record `{record-number}` to a new Jira issue in project `{project-key}` with issue type `{issue-type}` (default Bug), then record the Jira key on the ServiceNow record. Write nothing until the user confirms.

**Step 1: Read the ServiceNow record**

If `{record-number}` starts with INC, call `servicenow-get-incident` filtered by `number`. If it starts with PRB, call `servicenow-get-problem` filtered by `number`. Any other prefix: say this prompt handles incidents and problems only, and stop. If nothing comes back, say the record was not found and stop. Keep its `sys-id`, number, short description, priority, state, configuration item, assignment group and assigned-to (and, for a problem, its related incidents).

**Step 2: Check Jira for an existing escalation**

The link between the two systems is the ServiceNow number written into the Jira summary as `[INC0010023]`. Call `jira-get-issue` with `summary.contains` set to the record number (and `project-key` set to `{project-key}`). If an issue comes back, report its key, status and assignee, say the record is already escalated, and stop without creating anything.

**Step 3: Resolve the Jira ids**

Call `jira-get-issue-type` with `project-key` set to `{project-key}` and `name` set to `{issue-type}` (Bug if blank). Take its `issue-type-id` and `project-id`. If the project or the type does not exist, list the issue types the project does have and stop.

If the ServiceNow record has an assignee, call `servicenow-get-user` filtered by `name` to read their email, then `jira-get-user` filtered by `email` to read their `user-account-id`. If either step finds nothing, leave the Jira issue unassigned and say so.

**Step 4: Confirm**

Show the user the Jira issue you will create: project, type, summary `[<record number>] <short description>`, proposed assignee, and the ServiceNow details you will put in a comment. Ask for confirmation. Do not continue without an explicit yes.

**Step 5: Write, once each**

1. Call `jira-add-issue` with `project-id`, `issue-type-id`, `summary` and, if resolved, `assignee-account-id`.
2. Call `jira-get-issue` with `summary.contains` set to the record number to read the new `issue-key`.
3. Call `jira-add-issue-comment` on that issue with the ServiceNow number, priority, state, configuration item, assignment group and description. Pass the issue key as `issue-id`; Jira accepts a key in place of the numeric id.
4. Call `servicenow-update-incident` (for an INC) or `servicenow-update-problem` (for a PRB) with the record's `sys-id` and a `work-notes` entry: "Escalated to Jira <issue key>".

**Step 6: Report**

The Jira issue key, its summary and assignee, and confirmation that the work note was added in ServiceNow.

**Rules & Guidelines:**

* `servicenow-get-incident`, `servicenow-get-problem`, `servicenow-get-user`, `servicenow-update-incident` and `servicenow-update-problem` are on the servicenow server. `jira-get-issue`, `jira-get-issue-type`, `jira-get-user`, `jira-add-issue` and `jira-add-issue-comment` are on the jira server.
* Create exactly one Jira issue. Never change the ServiceNow record's state, priority or assignment; only add the work note.
* Do not call `jira-update-issue`, `jira-assign-issue` or `servicenow-add-problem`.

**Validation:**

* If `jira-add-issue` fails, report the error and do not write the ServiceNow work note.
* If the new issue cannot be found in step 5.2, report that the issue was created but its key could not be read, and do not write the work note.
* If a Jira write rejects the issue key as `issue-id`, call `jira-get-issue-watcher` filtered by `issue-key` to read the numeric `issue-id`, and retry once.

Who it's for

One answer, three teams that use it

Service desk analysts

Hand incidents to development properly

Escalate to Jira in one message and keep the link visible in ServiceNow.

Escalate INC0020871 to the WEB project in Jira as a bug.

Problem managers

Get root cause fixes into the backlog

Turn a problem into a Jira issue with the full ServiceNow context attached.

Raise PRB0040311 in Jira project CORE as a task and note the key on the problem.

Engineering leads

Receive escalations with full context

Each escalated issue arrives once, with the ServiceNow details in a comment.

Send ServiceNow incident INC0021002 to the PAY Jira project, assigned to whoever owns it in ServiceNow.

How it works

What PopdockAI does when you ask

You give the record number and the Jira project, and your AI assistant prepares the escalation. The Jira issue is created and linked back only after you confirm.

01

Ask

You give the incident or problem number and the Jira project.

Your AI tool

02

Check

It stops if a Jira issue already carries that number, and maps the assignee by email.

servicenow-get-incident
servicenow-get-problem
jira-get-issue
jira-get-issue-type
servicenow-get-user
jira-get-user

03

Confirm

You see the Jira issue it will create and say yes.

No items found.

04

Create

It creates the issue, comments the details and adds the key as a ServiceNow work note.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for ServiceNow and one secure connection to your AI tool. No code, no exports.

get-data

servicenow-get-incident

Returns incident records (number, state, priority, caller, assignment and dates) from ServiceNow. Filter by number, state, priority, caller, assignment group, assignee, short description text and opened date range.
get-data

servicenow-get-problem

Returns problem records (number, state, priority, known error, related incidents and dates) from ServiceNow. Filter by number, state, priority, known error, assignment group, assignee, short description text and opened date range.
get-data

jira-get-issue

Returns Jira issues with their project, issue type, status, assignee, reporter, dates and estimates. Filter by project, status, assignee or date range to pull a backlog, a sprint or one person's open work.
get-data

jira-get-issue-type

Returns the issue types available in each Jira project, such as Task, Bug, Story and Epic. Use it to pick a valid issue type before creating an issue.
get-data

servicenow-get-user

Returns ServiceNow user records (user ID, name, email, title, department, manager and location). Filter by user ID, name, email, title, department, location and whether the user is active.
get-data

jira-get-user

Returns Jira users with their display name, email address and active status. Use it to resolve a person's name to the account id an assignment needs.
run-action

jira-add-issue

Creates a new issue in a Jira project. Takes the project, issue type, summary and description, with optional assignee, priority and due date.
run-action

jira-add-issue-comment

Adds a comment to a Jira issue, which is the usual way to record why something was reprioritised, reassigned or closed.
run-action

servicenow-update-incident

Updates an existing incident record in ServiceNow (the incident table), identified by its sys_id. Only the fields you pass are changed.
run-action

servicenow-update-problem

Updates an existing problem record in ServiceNow (the problem table), identified by its sys_id. Only the fields you pass are changed.
get-data

jira-get-issue-watcher

Returns the users watching Jira issues, with the issue and project they are watching, so you can see who is following a piece of work.
Read only.Nothing in ServiceNow Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Every escalation lands in Jira once, with the trail intact

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation