First-party app
Jira Service Management

Jira Service Management

Manage Jira Service Management service desks, request types, customer requests, queues, SLAs and organizations.

stable Customer SupportProject Management

About

Jira Service Management ships in the w6w first-party pack. It declares 17 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.jira-service-management
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Customer Support · Project Management

Overview

Jira Service Management (formerly Jira Service Desk) is Atlassian’s ITSM / service-desk product, hosted on the same per-tenant *.atlassian.net Jira Cloud site as Jira Software but served by its own REST surface — /rest/servicedeskapi — with its own resources: service desks, request types, customer requests, queues, SLAs and organizations. It is a distinct product surface from the sibling jira app’s issue-tracking API, not a re-wrap of it.

This app covers the customer-request lifecycle end to end: creating a request against a request type’s declared fields, reading and searching requests, listing the transitions available from a request’s current status and executing one, adding or listing comments (public or internal), and adding or listing participants. Service desks and their request types are listed and read directly, queues can be listed and their queued issues read, SLA countdowns are readable per request, and organizations round out the surface for grouping customers.

Authentication mirrors the sibling jira app’s two Atlassian Cloud methods — Basic auth with an account email + API token against the site’s own host, or OAuth 2.0 (3LO) against Atlassian’s api.atlassian.com gateway, which resolves a cloudId after the token is issued. A request’s rich-text fields (description, comment bodies) are plain strings by default here — unlike Jira Software’s own v3 API, which requires Atlassian Document Format — and only become ADF when a caller opts in per-request.

Out of scope for this first version: attachments (multipart upload, which the sandbox’s ctx.fetch is not suited for), approvals, the knowledge base, and customer/organization membership management (all of which need either multipart or additional experimental-API opt-in headers this app deliberately does not add without a documented, stable contract).

Build with Jira Service Management

Three routes to the same 17 actions. The Workflow tab is generated from Jira Service Management's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Add Comment

comment-add

Post a comment on a request, public or internal.

List Comments

comment-get-many

List the comments on a request.

List Organizations

organization-get-many

List organizations, optionally filtered to those a customer account belongs to.

Add Request Participants

participant-add

Add one or more customers as participants on a request.

List Request Participants

participant-get-many

List the customers participating in a request.

Get Issues In Queue

queue-get-issues

List the requests currently sitting in one of a service desk's queues.

List Queues

queue-get-many

List a service desk's queues.

Create Customer Request

request-create

Raise a new customer request against a service desk's request type.

Get Customer Request

request-get

Look up one customer request by id or key.

Get Request Status History

request-get-status

List the status conditions a request has moved through.

Get Available Transitions

request-get-transitions

List the transitions a customer can currently perform on a request.

Search Customer Requests

request-search

List/search customer requests this connection can see, with optional filters.

Transition Request

request-transition

Move a request through its workflow. Use `request-get-transitions` to find the id.

List Request Types

requesttype-get-many

List the request types offered by a service desk, optionally filtered.

Get Service Desk

servicedesk-get

Look up one service desk by id.

List Service Desks

servicedesk-get-many

List the service desks this connection can access.

Get SLA Information

sla-get-many

List the SLAs tracked on a request, with ongoing and completed cycle timing.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Jira Service Management's real ids.

{
  "manifestVersion": "2",
  "name": "jira-service-management-example",
  "steps": [
    {
      "id": "comment-add",
      "uses": {
        "app": "io.w6w.jira-service-management",
        "action": "comment-add",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "issueIdOrKey": "<issueIdOrKey>",
        "body": "<body>"
      }
    }
  ]
}

Here are some of the things you can do

  • Add Comment

    perform
    comment-add
  • List Comments

    search
    comment-get-many
  • List Organizations

    search
    organization-get-many
  • Add Request Participants

    perform
    participant-add
  • List Request Participants

    search
    participant-get-many

+12 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Jira Service Management, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Jira Service Management. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "comment-add",
  payload: {
    issueIdOrKey: "<value>",
    body: "<value>",
    // public: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action comment-add --payload '{"issueIdOrKey":"<value>","body":"<value>"}'

Give an AI agent Jira Service Management — without giving it Jira Service Management's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.jira-service-management#comment-add",
    "input": {
      "issueIdOrKey": "<issueIdOrKey>",
      "body": "<body>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Jira Service Management connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Jira Service Management's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Jira Service Management itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Jira Service Management declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Jira Service Management platform status

Atlassian Statuspage rollup for jira-service-management.status.atlassian.com, with per-component detail. Unauthenticated and unsigned.

quota

API quota headroom

dependency

Jira Service Management site reachable

Unauthenticated GET /rest/servicedeskapi/info against this connection's Atlassian site — proves the site exists, is serving, and has JSM licensed.