Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/jira/src/serviceDesk/parameters/getCustomerRequests.ts>GetCustomerRequests

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
interface GetCustomerRequests
import { type GetCustomerRequests } from "https://deno.land/x/jira@v3.0.2/src/serviceDesk/parameters/getCustomerRequests.ts";

Properties

optional
searchTerm: string

Filters customer requests where the request summary matches the searchTerm. Wildcards can be used in the searchTerm parameter.

optional
requestStatus: string

Filters customer requests where the request is closed, open, or either of the two where:

CLOSED_REQUESTS returns customer requests that are closed. OPEN_REQUESTS returns customer requests that are open. ALL_REQUESTS returns all customer requests.

optional
approvalStatus: string

Filters results to customer requests based on their approval status:

MY_PENDING_APPROVAL returns customer requests pending the user's approval. MY_HISTORY_APPROVAL returns customer requests where the user was an approver.

Note: Valid only when used with requestOwnership=APPROVER.

optional
organizationId: number

Filters customer requests that belong to a specific organization (note that the user must be a member of that organization). Note: Valid only when used with requestOwnership=ORGANIZATION.

optional
serviceDeskId: number

Filters customer requests by service desk.

optional
requestTypeId: number

Filters customer requests by request type. Note that the serviceDeskId must be specified for the service desk in which the request type belongs.

optional
expand: string[]

A multi-value parameter indicating which properties of the customer request to expand, where:

serviceDesk returns additional details for each service desk. requestType returns additional details for each request type. participant returns the participant details, if any, for each customer request. sla returns the SLA information on each customer request. status returns the status transitions, in chronological order, for each customer request. attachment returns the attachments for the customer request. action returns the actions that the user can or cannot perform on this customer request. comment returns the comments, if any, for each customer request. comment.attachment returns the attachment details, if any, for each comment. comment.renderedBody (Experimental) returns the rendered body in HTML format (in addition to the raw body) for each comment.

optional
start: number

The starting index of the returned objects. Base index: 0. See the Pagination section for more details.

optional
limit: number

The maximum number of items to return per page. Default: 50. See the Pagination section for more details.