MetorialDocs

Set up Jira Service Management in Metorial for AI agents

Share Jira Service Management with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 20 tools (12 read-only).

To give your team Jira Service Management in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Jira Service Management integration in a Metorial portal, and each person signs in to Jira Service Management with their own account. Agents can create, read, and search Jira Service Management customer requests and Jira issues. The integration has 20 tools, 12 read-only, 7 write and 1 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares Jira Service Management in a portal and how each person connects
  • The 10 OAuth scopes Jira Service Management can request, and what each one allows
  • How to keep the 12 read-only tools and reject the other 8

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth 2.0 (default)OAuthSigns in to Jira Service Management
API TokenCustom credentialsemail, token and domain

The portal and metorial setup use OAuth 2.0 unless someone picks another method.

OAuth 2.0

People sign in to Jira Service Management and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
read:servicedesk-requestRead RequestsRead customer requests, approvals, attachments, comments, SLAs, and request types
write:servicedesk-requestWrite RequestsCreate and manage customer requests
manage:servicedesk-customerManage CustomersManage customers and organizations
read:jira-workRead Jira WorkRead issues, projects, and related data
write:jira-workWrite Jira WorkCreate and edit issues
manage:jira-projectManage ProjectsManage project settings
manage:jira-configurationManage ConfigurationJira administration actions
manage:jira-webhookManage WebhooksRegister and manage webhooks
read:meRead UserRead user profile information
offline_accessOffline AccessAccess refresh tokens for long-lived sessions

API Token

To connect, a person enters these values:

  • email: Your Atlassian account email address
  • token: API token generated from Atlassian account settings
  • domain: Your Atlassian domain (e.g., "mycompany" for mycompany.atlassian.net)

Use your own Jira Service Management OAuth app

With your own OAuth app, people see your company's name on the Jira Service Management consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Jira Service Management and copy the Redirect URI.

Register the app with Jira Service Management

Create an OAuth app or client in Jira Service Management and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Jira Service Management integration.

Admin: share Jira Service Management in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Jira Service Management. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Jira Service Management as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Jira Service Management.

Choose who gets it

Add the access groups that should see Jira Service Management. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Jira Service Management integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "jira service management"

Employee: connect Jira Service Management

In the portal

Open Jira Service Management in the catalog

Sign in to your portal and open Jira Service Management. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Jira Service Management sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "jira service management"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with API Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Jira Service Management connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "jira service management"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as get_issue and list_queues, and lose the 7 write tools, such as add_comment or create_issue, and the destructive tool delete_issue.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "jira service management"
metorial tools <integration-id>
metorial call <integration-id> list_projects -d '{}'

metorial tools lists the 20 tools, minus any you rejected. list_projects takes no input. It lists Jira projects accessible to the authenticated user.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • search_users: Search for Jira users by name or email. Needs query.
  • list_service_desks: List all service desks available in the Jira Service Management instance.
  • list_queues: List service desk queues and optionally retrieve the issues within a specific queue. Needs serviceDeskId.
  • get_issue: Retrieve detailed information about a specific Jira issue by its key or ID. Needs issueIdOrKey.
  • get_sla_information: Retrieve SLA (Service Level Agreement) information for a customer request. Needs issueIdOrKey.
  • list_request_types: List request types available for a service desk, including their field definitions. Needs serviceDeskId.
  • list_projects: List Jira projects accessible to the authenticated user.
  • search_knowledge_base: Search knowledge base articles linked to a service desk. Needs serviceDeskId and query.
  • search_issues: Search for Jira issues using JQL (Jira Query Language). Needs jql.
  • get_current_user: Get the authenticated Jira user, including the account ID used for assignments and customer membership.
  • get_customer_request: Read a customer request with its current status, request fields, reporter, and customer portal link.
  • list_customer_requests: List customer requests visible to the authenticated user, ordered by latest activity.

Write tools (7)

  • create_customer_request: Create a new customer request (service desk ticket) in a JSM service desk. Needs serviceDeskId, requestTypeId and requestFieldValues.
  • manage_organization: Create, list, get, or delete organizations. Needs action.
  • add_comment: Add a comment to a Jira issue or service desk request. Needs issueIdOrKey and body.
  • create_issue: Create a new Jira issue in a specified project. Needs projectKey and summary.
  • update_issue: Update an existing Jira issue's fields. Needs issueIdOrKey.
  • manage_approval: View or action approvals on a customer request. Needs issueIdOrKey.
  • manage_customer: Create customer accounts, list customers for a service desk, or add/remove customers from a service desk. Needs action.

Destructive tools (1)

  • delete_issue: Permanently delete a Jira issue. Needs issueIdOrKey.

Triggers

Jira Service Management has 3 triggers, which fire on events in Jira Service Management:

  • comment_events: Triggers when comments on issues are created, updated, or deleted.
  • issue_events: Triggers when issues (including service requests) are created, updated, or deleted.
  • project_events: Triggers when projects are created, updated, deleted, archived, or restored.

Next steps