Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Jira Service Management

Scalekit connector
Open markdown

The Jira Service Management connector lets your AI agent act in each user's Jira Service Management account. Each user signs in to Jira Service Management once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 72 tools.

Tools
72
What they doRead · write · destructive
42 · 19 · 1142 read19 write11 destructive
Users sign in with
OAuth app
Your own Jira Service Management app

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Jira Service Management connection

    In AgentKit > Connections, create a Jira Service Management connection and copy its redirect URI. The name you give it is the connection_name your code passes. See Configure connections.

  4. Register an OAuth app

    Jira Service Management connections use your own OAuth app. Register one with Jira Service Management and add the redirect URI you copied.

    Then enter the app's Client ID and Client Secret on the Jira Service Management connection.

  5. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'jiraservicemanagement'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Jira Service Management:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'jiraservicemanagement_assets_workspaces_list',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • jiraservicemanagement_approval_getReturns an approval on a customer request.Read-only

    Get Approval

    Returns an approval on a customer request. Use this method to determine the status of an approval and the list of approvers. Requires permission to view the customer request.

    Inputs

    approvalIdintegerrequired
    The ID of the approval to be returned.
    issueIdOrKeystringrequired
    The ID or key of the customer request the approval is on.
  • jiraservicemanagement_approvals_listReturns all approvals on a customer request.Read-only

    List Approvals

    Returns all approvals on a customer request. Requires permission to view the customer request. Supports pagination via start and limit.

    Inputs

    issueIdOrKeystringrequired
    The ID or key of the customer request to be queried for its approvals.
    limitinteger
    The maximum number of approvals to return per page. Default: 50.default 50
    startinteger
    The starting index of the returned objects. Base index: 0.default 0
  • jiraservicemanagement_article_getRetrieve and view a specific knowledge base article by its Confluence page ID.Read-only

    View Knowledge Base Article

    Retrieve and view a specific knowledge base article by its Confluence page ID. Returns the article content for display in the customer portal.

    Inputs

    pageIdintegerrequired
    The Confluence page ID of the knowledge base article to view.
  • jiraservicemanagement_articles_listSearch for knowledge base articles matching a query string across all service desks.Read-only

    List Knowledge Base Articles

    Search for knowledge base articles matching a query string across all service desks. Optionally highlight matching terms in the title and excerpt. Requires permission to access the customer portal.

    Inputs

    highlightbooleanrequired
    If set to true, matching query terms in the title and excerpt will be highlighted using the @@@hl@@@term@@@endhl@@@ syntax. Default is false.default false
    querystringrequired
    The string used to filter the articles. This parameter is required.
    cursorstring
    Pointer to a set of search results, returned as part of the next or prev URL from a previous search call. Use for cursor-based pagination.
    limitinteger
    The maximum number of articles to return per page. Default is 50.default 50
    prevboolean
    Whether to navigate to the previous page. Defaults to false. Set to true along with the prev URL cursor from a previous search call.default false
    startinteger
    (Deprecated) The starting index of the returned objects. Base index is 0. Prefer using cursor for pagination.
  • jiraservicemanagement_assets_workspaces_listReturns a paginated list of Assets workspace IDs for the Jira Service Management instance.Read-only

    List Assets Workspaces

    Returns a paginated list of Assets workspace IDs for the Jira Service Management instance. Use a returned workspace ID to construct paths for the Assets REST APIs. Any authenticated user can call this endpoint.

    Inputs

    limitinteger
    The maximum number of workspace IDs to return per page. Default is 50.default 50
    startinteger
    The starting index of the returned workspace IDs. Base index is 0.default 0
  • jiraservicemanagement_attachment_thumbnail_getReturns the thumbnail image of an attachment on a customer request, identified by issue ID/key and attachment ID.Read-only

    Get Attachment Thumbnail

    Returns the thumbnail image of an attachment on a customer request, identified by issue ID/key and attachment ID. Returns raw binary image content, not JSON. Requires permission to browse the project the issue belongs to (and, if issue-level security applies, permission to view the issue).

    Inputs

    attachmentIdintegerrequired
    The numeric ID of the attachment whose thumbnail should be retrieved.
    issueIdOrKeystringrequired
    The ID or key of the customer request (issue) the attachment is associated with.
  • jiraservicemanagement_comment_attachments_listReturn the attachments referenced in a specific comment on a customer request, with pagination support.Read-only

    List Comment Attachments

    Return the attachments referenced in a specific comment on a customer request, with pagination support. Customers can only view attachments on public comments for requests where they are the reporter or a participant; agents can see both internal and public comments. Requires permission to view the customer request.

    Inputs

    commentIdintegerrequired
    The numeric ID of the comment whose attachments should be retrieved.
    issueIdOrKeystringrequired
    The ID or key of the customer request that contains the comment.
    limitinteger
    The maximum number of attachments to return per page. Default is 50.default 50
    startinteger
    The starting index (0-based) of the returned attachments, for pagination.default 0
  • jiraservicemanagement_customer_request_getRetrieve a customer request by its ID or key.Read-only

    Get Customer Request

    Retrieve a customer request by its ID or key. Customers only see requests they created, were created on their behalf, or are participating in. Note: requestFieldValues does not include hidden fields. Use the expand parameter to include service desk, request type, participant, SLA, status, or attachment details.

    Inputs

    issueIdOrKeystringrequired
    The ID or Key of the customer request to be returned.
    expandstring
    Comma-separated list of properties to expand, where: serviceDesk returns additional service desk details; requestType returns additional customer request type details; participant returns the participant details; sla returns the SLA information; status returns the status transitions; attachment returns request attachments; action returns the actions that can be performed on the request; comment returns comments on the request.