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

A (service desk, request type) scope built from service_desk.request_type(name_or_id). Pure-data at construction; resolves via API on first leaf method call.

## Members

* [project_key](#project_key)
* [service_desk_id](#service_desk_id)
* [connection](#connection)
* [info](#info)
* [request](#request)
* [requests](#requests)
* [transition_graph](#transition_graph)

## project_key

The project key this scope is bound to.

## service_desk_id

The service desk id this scope is bound to.

## connection

Get the Jira connection backing this scope.

A Jira connection handle.

## info

Fetch this request type's metadata (id, name, description). Resolves the scope if necessary.

A RequestTypeInfo with the request type's descriptive metadata.

## request

Find (or create) a customer request of this type. JQL is auto-scoped with project = K AND "Request Type" = \<name>. On create, the SM portal API is used so the request type is set correctly.

A request key/id or JQL expression.

Field revisions to use when creating the request if the query finds none. The service desk and request type are added automatically.

A work item representing the customer request.

## requests

Search customer requests of this type. JQL is auto-scoped with project = K AND "Request Type" = \<name>.

A JQL query.

A list of work items.

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