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

DEPRECATED: jirasm-compatible work item. Use jira.WorkItem for new code.

## Members

* [key](#key)
* [as_workitem](#as_workitem)
* [attach](#attach)
* [attachments](#attachments)
* [comment](#comment)
* [comments](#comments)
* [fields](#fields)
* [status](#status)
* [transform](#transform)
* [transition](#transition)
* [update_custom_field](#update_custom_field)
* [wait_for_change](#wait_for_change)

## key

The work item key.

## as_workitem

Get the jira.open() work item handle for the same underlying Jira issue.

The jira.open() work item.

## attach

Attach a file to the work item.

The file to attach.

Optional comment to add with attachment.

## attachments

Get all attachments of the work item.

List of file attachments.

## comment

Add a comment to the work item.

The comment text.

## comments

Get all comments on the work item.

List of Comment objects.

## fields

Retrieve specific field values as a dict.

List of field names to retrieve.

Dict mapping field names to their values.

## status

Get the current status of the work item.

Optional list of statuses to check in history. Returns the first match.

The current status or first historical match.

## transform

Transform the work item data using a template.

The Go template string.

The rendered template text.

## transition

Transition the work item to a new state.

The target state name or transition name.

Comment to add with the transition.

Optional fields to update during transition.

## update_custom_field

Update a custom field on the work item.

The field name or ID (e.g., 'Category' or 'customfield_12345').

The value to set for the field.

## wait_for_change

Wait for the work item to match a JQL condition.

The JQL query condition (e.g., 'status = CLOSED').

Optional timeout duration (e.g., '1h', '30m').

Optional function to call on timeout. Should accept the work item and return bool.