MetorialDocs

Set up Jira in Metorial for Claude, ChatGPT and Cursor

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

To give your team Jira in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Jira integration in a Metorial portal, and each person signs in to Jira with their own account. Agents can create, read, update, and delete issues across projects. The integration has 33 tools, 14 read-only, 13 write and 6 destructive, plus 7 triggers.

What you'll learn

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

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth 2.0 (default)OAuthSigns in to Jira
API TokenAPI tokenemail, 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 and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
read:jira-workRead Jira WorkRead access to Jira projects, issues, worklogs, etc.
read:issue-details:jiraRead Jira Issue DetailsRead detailed Jira Software issue data for sprint contents.
read:jql:jiraRead Jira JQLRead Jira JQL data used by Jira Software sprint issue queries.
write:jira-workWrite Jira WorkWrite access to create/update issues, worklogs, etc.
read:jira-userRead Jira UserRead access to user information.
manage:jira-projectManage Jira ProjectManage project settings.
manage:jira-configurationManage Jira ConfigurationManage Jira global settings.
manage:jira-webhookManage Jira WebhookManage webhooks for receiving event notifications.
offline_accessOffline AccessEnables refresh tokens for long-lived access.
read:meRead MeRead profile information for the authenticated user.
read:board-scope:jira-softwareRead Boards and SprintsView boards, backlogs, sprints, and related items in Jira Software.
write:board-scope:jira-softwareManage BoardsCreate and manage Jira Software boards.
read:sprint:jira-softwareRead SprintsRead sprint data from Jira Software.
write:sprint:jira-softwareManage SprintsCreate, update, and move issues to sprints.
delete:sprint:jira-softwareDelete SprintsDelete Jira Software sprints created during test cleanup.
read:project:jiraRead ProjectsRead project data in Jira.

API Token

To connect, a person enters these values:

  • email: The email address associated with your Atlassian account.
  • token: API token generated from https://id.atlassian.com/manage-profile/security/api-tokens
  • domain: Your Atlassian domain (e.g., "mycompany" for mycompany.atlassian.net)

Use your own Jira OAuth app

With your own OAuth app, people see your company's name on the Jira 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 and copy the Redirect URI.

Register the app with Jira

On developer.atlassian.com, click your profile icon and select Developer console. Select Create, then OAuth 2.0 integration, name the app and choose the OAuth 2.0 (3LO) grant type. Select Authorization in the left menu, click Configure next to OAuth 2.0 (3LO), paste the redirect URI from Metorial as the Callback URL, and click Save changes. Under Permissions, add the Jira API and its scopes. Copy the client ID and secret from Settings.

Set the app's distribution so people other than you can authorize it. The agent never gets more than the person's own Jira permissions: without the Administer Jira permission, it cannot create projects even with manage:jira-project.

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 integration.

Admin: share Jira 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. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Jira as themselves.

Limit the tools

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

Choose who gets it

Add the access groups that should see Jira. 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 integration. Once it exists, check which groups have it:

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

Employee: connect Jira

In the portal

Open Jira in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Jira 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
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 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
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 14 read-only tools, such as get_issue and get_filter, and lose the 13 write tools, such as log_work or add_comment, and the 6 destructive tools, such as delete_issue or delete_filter.

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
metorial tools <integration-id>
metorial call <integration-id> list_issue_link_types -d '{}'

metorial tools lists the 33 tools, minus any you rejected. list_issue_link_types takes no input. It lists all available issue link types in the Jira instance (e.g., "Blocks", "Duplicate", "Relates").

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

Tools

Read-only tools (14)

  • list_projects: List Jira projects accessible to the authenticated user.
  • search_users: Search for Jira users by name, username, or email. Needs query.
  • search_issues: Search for Jira issues using JQL (Jira Query Language). Needs jql.
  • list_boards: List Jira boards (Scrum or Kanban).
  • get_issue: Retrieve detailed information about a Jira issue by its key or ID. Needs issueIdOrKey.
  • list_sprints: List sprints for a given board. Needs boardId.
  • list_versions: List versions (releases) for a Jira project. Needs projectIdOrKey.
  • get_transitions: Get the available workflow transitions for an issue. Needs issueIdOrKey.
  • list_favourite_filters: List the authenticated user's favourite saved JQL filters.
  • list_issue_link_types: List all available issue link types in the Jira instance (e.g., "Blocks", "Duplicate", "Relates").
  • list_comments: List comments on a Jira issue with pagination support. Needs issueIdOrKey.
  • list_worklogs: List worklogs for a Jira issue with pagination support. Needs issueIdOrKey.
  • get_filter: Retrieve a saved Jira JQL filter by ID. Needs filterId.
  • list_sites: List the Atlassian sites this Jira connection can access and show which site tools use by default.

Write tools (13)

  • create_filter: Create a saved JQL filter in Jira. Needs name and jql.
  • move_issues_to_sprint: Move one or more issues to a specific sprint. Needs sprintId and issueKeys.
  • create_issue: Create a new Jira issue in a specified project. Needs projectKey, issueTypeName and summary.
  • link_issues: Create a link between two Jira issues. Needs linkTypeName, outwardIssueKey and inwardIssueKey.
  • add_comment: Add a comment to a Jira issue. Needs issueIdOrKey and body.
  • update_version: Update a project version's details, release it, or archive it. Needs versionId.
  • create_sprint: Create a new sprint on a Scrum board. Needs boardId and name.
  • update_issue: Update an existing Jira issue's fields, transition it to a new status, or reassign it. Needs issueIdOrKey.
  • create_version: Create a new version (release) in a Jira project for release management. Needs projectId and name.
  • log_work: Log time spent on a Jira issue. Needs issueIdOrKey.
  • update_filter: Update a saved Jira JQL filter's name, description, query, or favourite state. Needs filterId.
  • update_comment: Update an existing comment on a Jira issue. Needs issueIdOrKey, commentId and body.
  • update_worklog: Update time spent, start time, or comment for an existing Jira issue worklog. Needs issueIdOrKey and worklogId.

Destructive tools (6)

  • delete_issue: Permanently delete a Jira issue. Needs issueIdOrKey.
  • delete_filter: Delete a saved Jira JQL filter owned by the authenticated user. Needs filterId.
  • delete_issue_link: Delete an existing link between two Jira issues by issue link ID. Needs issueLinkId.
  • delete_comment: Delete a comment from a Jira issue. Needs issueIdOrKey and commentId.
  • delete_worklog: Delete a worklog from a Jira issue. Needs issueIdOrKey and worklogId.
  • delete_version: Delete a Jira project version. Needs versionId.

Triggers

Jira has 7 triggers, which fire on events in Jira:

  • sprint_events: Triggers when a sprint is created, updated, started, closed, or deleted.
  • worklog_events: Triggers when a worklog entry is created, updated, or deleted on a Jira issue.
  • board_events: Triggers when a board is created, updated, deleted, or has its configuration changed.
  • comment_events: Triggers when a comment is created, updated, or deleted on a Jira issue.
  • version_events: Triggers when a project version (release) is created, updated, released, unreleased, moved, deleted, or merged.
  • issue_events: Triggers when an issue is created, updated, or deleted in Jira.
  • project_events: Triggers when a project is created, updated, deleted, trashed, restored, archived, or unarchived.

Next steps