Skip to main content

Overview

OneCLI connects AI agents to Jira Cloud. Agents can search issues with JQL, read and create them, comment, and move them through a workflow. The gateway injects the token into requests to api.atlassian.com, so your agent never sees it. Connecting takes one click. You don’t create an Atlassian app or copy any keys.

Connect Jira

1

Click Connect

In the OneCLI dashboard, open Connections > Jira and click Connect Jira.
OneCLI connect window for Jira, showing the Connect to Jira button and an auto-connect countdown.

The Jira connect window in OneCLI.

2

Accept in Atlassian

Sign in to Atlassian, pick your Jira site, and click Accept. You’re done. OneCLI keeps the connection active from then on.
You don’t need to be a Jira admin. Atlassian may show a notice that the app hasn’t been reviewed by Atlassian yet. It’s safe to continue.

What agents can do

Controlling access

Grant the connection to each agent that needs it, and choose per tool what runs freely, what needs approval, and what’s blocked. For example, let an agent search and read freely, but put Transition issue and Delete issue behind approval. Organization rules add guardrails on top. A blocked request never reaches Jira. To disconnect, remove the connection in Connections > Jira, then revoke OneCLI in Atlassian under Account settings > Connected apps.

Self-hosted: use your own Atlassian app

Skip this section on OneCLI Cloud. It’s only for self-hosted OneCLI without ATLASSIAN_CLIENT_ID and ATLASSIAN_CLIENT_SECRET set, or if you want your own company name on Atlassian’s consent screen. One Atlassian app can serve both Jira and Confluence.
Go to developer.atlassian.com/console/myapps. Select Create > OAuth 2.0 integration, name it OneCLI, accept the terms, and select Create. For Access type, choose Resource-level, so the token only reaches the site you pick.
Open Permissions. For each API, click Add, then Configure:Use these exact classic scope names. The granular ones (read:issue:jira and so on) don’t match what OneCLI requests. For Confluence, also add the scopes on the Confluence page.
Atlassian developer console Permissions page showing Scopes Used 4, with the Jira API row at 3 scopes and the User identity API row at 1 scope.

Permissions after adding all four scopes.

In OneCLI, open Connections > Jira > Custom credentials and copy the Redirect URI. In the developer console, open Authorization, click Configure next to OAuth 2.0 (3LO), paste it into Callback URLs, and save.
In the developer console, open Settings and copy the Client ID and Secret under Authentication details.
Atlassian developer console Settings page showing the Authentication details card with a Client ID field and a masked Secret field, each with a copy button.

Client ID and Secret on the Settings page.

Paste both into Connections > Jira > Custom credentials, select Save & Connect, and accept in Atlassian.