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

# Jira Cloud project issue source

> Observe enhanced JQL search results for one Jira Cloud project.

Configure [schema discovery](https://docs.bijection.com/integrations/native-rest.md#discover-and-approve-a-provider-schema)
at a protected label. Supply a Jira Cloud credential with access to
Field Search and permission to browse the project. Use the project key as
`resource`.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
const selection = {
  provider: "jira",
  resource: "DEMO",
  origin: "https://example.atlassian.net",
  path: "/rest/api/3/search/jql",
};
```

For the Atlassian API gateway, set `origin` to `https://api.atlassian.com`
and prefix the path with `/ex/jira/<cloudId>`. The proposal comes from
paginated Field Search for company-managed projects and includes supported
system and custom fields. Select up to 32 field IDs. The feed publishes by
Jira issue ID and uses the enhanced search page token. A terminal page
restarts the search at the next poll. Missing or deleted issues remain
published. Jira indexing can delay observations. Data pages are limited
to 36 KiB. Complete field metadata pages are staged in sealed parts up
to 2 MiB each.
[Jira issue fields](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/) · [Jira enhanced JQL search](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/)

## Create and update

Bind `jiraIssueWriter(tenant, auth, label)` to
`receivers.writers[mode]` under the app's `data` label. Use
`mode: "jira"` with the [REST write commands](https://docs.bijection.com/integrations/native-rest.md#create-and-update-records).
Choose the Jira project in the create payload and supply the issue key or ID
as text for an update. The writer is tenant-scoped. Restrict the credential
to the intended projects. HTTP 201 with an issue key acknowledges create.
HTTP 204 acknowledges the edit at the supplied key or ID. The acknowledgement
covers the edit request. Issue transitions and search visibility have separate
outcomes. The host sends each task at most once.
[Provider API](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/)

## Jira Service Management customer requests

For a separate Service Management feed, pass `providerEndpoint("jira.service-desk.requests.observations", "https://example.atlassian.net", "/rest/servicedeskapi/request", auth, data)` as `receivers.provider`
from `@bijectionhq/app-rest`. Replace the tenant name. Use a principal that can see
the selected service desk's requests. For site Basic auth, seal the Base64 encoding of the Atlassian account email and API token separated by a colon. Pass the same label to the receiver binder and as the app's `data`.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ profile: { mode: "provider", provider: "jira.service-desk.requests.observations", selection: "10", limit: 20 } }
```

Use the service desk ID as `selection`. The app publishes request metadata by issue key, including source issue ID and current status when present. It follows the response's offset and count and restarts after the terminal page. Each page accepts up to 100 records and 36 KiB. Request visibility depends on the credential and missing requests stay published.

[Atlassian customer requests](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/)

## Issue links

Pass the same protected label to the receiver binder and as the app's `data`. Initialize
with `{ mode: "jiraLinks", project: "DEMO", fields: ["summary"], limit: 10 }`
as the profile. The app adds `issuelinks` to the JQL projection and commits
the link observations and issues together with the search cursor.

Read edge rows through `<mount>.relationships.list` or `get`. The key
contains the observing issue ID and Jira link ID. When both ends appear in
the search, both can report the same directed link. Each observed issue
replaces its own observations. Missing issues retain their prior edges.
Each 36 KiB page accepts up to 16 issues and 16 links per issue.
[Jira issue links](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-links/)

## Additional observations

Bind one protected REST mount per row in the table. Pass the same protected label to the receiver binder and as the app's `data`. Call
`providerEndpoint(mode, origin, path, auth, data)` with the exact
mode and reviewed path. Initialize with
`{ profile: { mode: "provider", provider: mode, limit: 25 } }`, adding the
resource selectors below where required.

| Mode | Receiver path | Record key | Position |
| - | - | - | - |
| `jira.service-desk.request.comments.observations` | `/rest/servicedeskapi/request/ISSUE/comment` | Comment ID | Offset advances by returned count |
| `jira.service-desk.request.slas.observations` | `/rest/servicedeskapi/request/ISSUE/sla` | SLA metric ID | Offset advances by returned count |
| `jira.service-desk.request.approvals.observations` | `/rest/servicedeskapi/request/ISSUE/approval` | Approval ID | Offset advances by returned count |

Each response admits at most 100 rows and 36 KiB. Oversized or malformed
pages preserve the last committed position. A terminal page restarts the
walk at the next poll. Rows missing from later responses stay published.

Use the same Atlassian site origin and auth as customer requests. Put the
issue ID or key in both the receiver path and `selection`. Comments
and approvals depend on the caller's visibility. SLA reads require a
service desk agent with project browse access and include the cycles
returned under each metric.

[Atlassian customer requests](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/)

## Transition an issue

Bind `jiraIssueWriter` as `receivers.writers[mode]` at the installed `data` label.
Submit mode `jira.issues.transition` with
`{ action: "transition", id: "ED-24", transitionId: "31" }` under an exact
command key. The transition ID is defined by the tenant's issue workflow.
Grant the credential browse and transition permissions for the project.
HTTP 204 acknowledges the specified transition for that issue. The host sends each task at most once. [Jira transition API](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post)

## Issue changelog

Bind `jiraChangelog(tenant, issueId, auth, data)` as `receivers.provider`
at a protected `data` label. Use the numeric Jira issue ID, as text, in both
the receiver and the profile `{ mode: "jiraChangelog", issueId: "10001", limit: 20 }`.
The credential needs access to the issue and its changelog.

Read append-only captures from `<mount>.occurrences.list` or `get`.
A changelog ID identifies the entire event, including its item list.
The oldest-first offset advances by the number of entries returned.
The terminal page restarts the walk, and repeated IDs retain the first
captured payload. Live offset paging covers the provider's visible history
and may shift. Up to 100 entries and 36 KiB fit in a page.
[Jira changelog API](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get)

## Issue activity, boards, sprints, projects, and transitions

Use `providerEndpoint(mode, "https://example.atlassian.net", path, auth, data)`
with a direct Jira Cloud site. Bind `receivers.provider` and `data` to an
installer-approved protected label. Seal a credential that can browse the
selected issue, board, or project. Use one mount per endpoint and initialize
with `{ profile: { mode: "provider", provider: mode, limit: 10 } }`.
For boards only, optionally supply `selection` as a project key or ID.

| Mode | Reviewed path | Observation key |
| - | - | - |
| `jira.issue.comments.observations` | `/rest/api/3/issue/ISSUE/comment` | Comment ID |
| `jira.issue.worklogs.observations` | `/rest/api/3/issue/ISSUE/worklog` | Worklog ID |
| `jira.boards.observations` | `/rest/agile/1.0/board` | Board ID |
| `jira.board.sprints.observations` | `/rest/agile/1.0/board/BOARD/sprint` | Sprint ID |
| `jira.projects.observations` | `/rest/api/3/project/search` | Project ID |
| `jira.issue.transitions.observations` | `/rest/api/3/issue/ISSUE/transitions` | Transition ID |

Use the issue key or numeric ID for `ISSUE` and a numeric board ID for
`BOARD`. Each response accepts 1–100 configured rows and 36 KiB. The
paginated modes use the returned count to advance the offset and restart at
the end. Concurrent edits can move rows across offset pages. Transitions
read one list for the current status and credential, and reject the whole
list if it exceeds the limit. They carry no cursor. All modes keep
previously published rows when the provider omits them.

[Issues and transitions](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/) ·
[Comments](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comments/) ·
[Worklogs](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/) ·
[Boards and sprints](https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/) ·
[Projects](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/)

## Additional writes

Follow the [native write app guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes).
Pass the reviewed HTTPS endpoint, the credential's `auth` and any listed `scope` array to `providerWriter(mode, { endpoint, auth, scope }, data)`, and pass the writer as `receivers.writers[mode]`. Pass the receiver to the app under the same protected `data` label. Use a
distinct exact command key for each command. Writes accept up to 24 KiB
of JSON and carry no read cursor. Each task sends at most once.

| Mode | Binder | Scope and action |
| - | - | - |
| `jira.service-desk.requests.create` | `providerWriter` | Empty scope. Supply `serviceDeskId`, `requestTypeId` and the required request fields. |
| `jira.service-desk.request.comments.create` | `providerWriter` | Scope is the issue ID or key. Supply JSON `body` text and explicit `public` visibility. |
| `jira.service-desk.request.approvals.decide` | `providerWriter` | Scope is the issue ID or key. Send a typed approval decision for the approval ID. |

Use a sealed Atlassian Basic or bearer credential with the necessary
service desk access. A Jira approval command takes
`{ action: "decideApproval", id, decision }`, with `approved` or
`rejected` as the decision. The credential must belong to an approver.
The response can acknowledge the action while the aggregate approval is
still pending. Read the aggregate state from `writes.get().detail`.

[Atlassian customer request API](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/)


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