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

DEPRECATED: jirasm-compatible connection. Use jira.Connection for new code.

## Members

* [name](#name)
* [create_request](#create_request)
* [get_request](#get_request)
* [query_requests](#query_requests)
* [start_workflow_when](#start_workflow_when)
* [transition_graph](#transition_graph)

## name

The connection name.

## create_request

Create a new work item (jirasm-compatible).

The summary/title of the work item.

Dict of field name/value pairs.

The created work item.

## get_request

Get a work item by key or ID (jirasm-compatible).

The work item key or ID.

The work item.

## query_requests

Query work items using JQL (jirasm-compatible).

The JQL query string.

List of matching work items.

## start_workflow_when

Register callback for JQL matches (jirasm-compatible).

The name of the callback to register.

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

The JQL query to check.

## transition_graph

Map each status in the workflow for this project and issue type to the statuses reachable from it in one transition. Costly: do not call it on a workflow's hot path. On Jira Cloud, it reads the workflow definition in one request when the connection has permission to view workflows. Otherwise, and always on Server and Data Center, it probes one work item per status, two requests per status, and the result only shows transitions the connection's account is allowed to take.

A dict of status name to a sorted list of reachable status names. Workflow conditions can still refuse a listed transition on a given work item. An empty list means no transition leaves that status, or, when probed, that conditions hid every transition. A status missing from the dict had no work item to probe.