> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Jira

> Work with Struct Agent in your Jira conversations.

Connect Jira so Struct Agent can collaborate in the selected projects and issues. Reuse a healthy connection and confirm the intended project scope before enabling work.

## Inspect access and existing connections

Use a claimed workspace with permission to configure connections.

```bash theme={null}
struct whoami --json
struct connections catalog jira --json
struct connections list --json
```

Use the catalog's current fields, choices and permission requirements. Reuse an existing healthy connection instead of creating a duplicate.

## Connect with the CLI

Relay the `waiting_for_human` URL immediately while reading JSON Lines. The person approves the intended provider account in a browser signed in to Struct as the CLI user.

Replace example values with the intended resource:

```bash theme={null}
struct connect jira --no-browser --json
```

Choose the intended Jira site during consent, or use `--site`. Configure projects and automatic-investigation choices in Struct's source settings; the CLI does not select triage projects. Continue collaboration in the issue conversation.

## Verify and recover

Use the returned connection ID:

```bash theme={null}
struct connections show CONNECTION_ID --json
```

Inspect `health` and any missing access, not only the exit code. Struct has no saved-connection test for this app (`struct connections test` returns `test_not_supported`), so confirm access with the check below. If the approval link expired, start the connection command again and use the new link. Do not reconnect to a different account silently.

Connection health proves checked access; it does not prove an investigation or alert delivery.

The CLI has no Jira read command. To check end to end, ask the person to mention Struct in a comment on a test issue; do not create one without their direction.

## Permissions

Struct connects to Jira Cloud with OAuth. It asks for `read:jira-work`, `read:jira-user`, `write:jira-work`, `manage:jira-webhook` and `offline_access`; reconnect Jira from Connections if one is missing.

### Access

Read issues, post Struct's findings as comments, and hear about assignments, mentions and new issues.

| Scope | Used for |
| - | - |
| `read:jira-work` | Reading projects, issues and comments |
| `read:jira-user` | Resolving assignees and mentions |
| `write:jira-work` | Posting and editing Struct's comments |
| `manage:jira-webhook` | Registering the webhook that tells Struct about assignments, mentions and new issues |
| `offline_access` | Keeping the connection working without signing in again |

### Jira Service Management

Read and acknowledge Jira Service Management alerts. Only needed if you use Jira Service Management.

| Scope | Used for |
| - | - |
| `read:servicedesk-request` | Requested during OAuth consent; Struct does not currently call the Jira Service Management request APIs |
| `write:servicedesk-request` | Requested during OAuth consent; Struct does not currently call the Jira Service Management request APIs |
| `read:ops-alert:jira-service-management` | Reading Jira Service Management alerts |
| `write:ops-alert:jira-service-management` | Adding notes to and acknowledging those alerts |
| `read:ops-config:jira-service-management` | Setting up the integration that sends Jira Service Management alerts to Struct |
| `write:ops-config:jira-service-management` | Setting up the integration that sends Jira Service Management alerts to Struct |

* The Jira Service Management scopes are requested for every site, and Atlassian lists them on the consent screen even if you don't use Jira Service Management.

Permission catalog version `2026-11-04.1`. See [permission changes](https://docs.struct.ai/reference/permission-changes.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.