> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# jira.Connection

A Jira connection.

## Members

* [name](#name)
* [assets](#assets)
* [info](#info)
* [service_desk](#service_desk)
* [space](#space)
* [start_workflow_when](#start_workflow_when)
* [workitem](#workitem)
* [workitems](#workitems)

## name

The instance identifier.

## assets

Get an Atlassian Assets workspace scope.

The Assets workspace ID.

An AssetsWorkspace handle.

## info

Get server information about this connection.

The server information

## service_desk

Get a JSM service desk handle. Entry point for SM-portal operations (creating customer requests, looking up by request type). For non-JSM projects, use space() instead.

The service desk id. Accepts int or string-of-digits.

A ServiceDesk handle.

## space

Get a project handle by key. At workflow time, looks up the project to confirm it exists. At load time, returns a sparse handle (project key only); the API call happens lazily when a leaf method first needs metadata. Space exposes the standard issue API — for JSM service-desk operations (creating customer requests with proper request-type routing), use service_desk(sd_id).

Project key (alphanumeric, e.g. "DEMO").

A Space handle.

## start_workflow_when

Schedule a callback for each work item that matches a JQL query. The query runs against this connection's Jira instance unmodified — write the full JQL including any project / issue-type / request-type clauses you need.

The name of the callback to register.

The workflow to launch when a work item matches the query.

The JQL query to check. Passed through verbatim.

## workitem

Get a work item and optionally create it if it doesn't exist.

A work item key or ID or a JQL query used to find a single work item. If the empty string is provided, then the work item must be created.

The revisions to use when creating the work item if it is not found.

A work item

## workitems

Search for work items using a JQL query.

A JQL query to find work items.

A list of work items matching the query