Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getCustomerRequests([searchTerm[, requestOwnership[, requestStatus[, approvalStatus[, organizationId[, serviceDeskId, requestTypeId]]]]]]) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns a string array of customer requests keys. |
Returns a string array of customer requests keys that match the provided parameters. More information about the parameters can be found on Atlassian's rest API: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-get
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
searchTerm | String | No | Filters customer requests where the request summary matches the searchTerm | requestOwnership | String[] | No | Can be "OWNED_REQUESTS", "PARTICIPATED_REQUESTS", "ORGANIZATION", "ALL_ORGANIZATIONS", "APPROVER" | requestStatus | String | No | Can be "CLOSED_REQUESTS", "OPEN_REQUESTS", "ALL_REQUESTS" | approvalStatus | String | No | Can be "MY_PENDING_APPROVAL", "MY_HISTORY_APPROVAL" | organizationId | Integer | No | Valid only when used with requestOwnership is "ORGANIZATION". | serviceDeskId | Integer | No | Filters customer requests by service desk. | requestTypeId | Integer | No | Filters customer requests by request type. Note that the serviceDeskId must be specified for the service desk in which the request type belongs. | |
Return Type
String []
Example
Code Block |
---|
|
return getCustomerRequests(); |
Returns a list of keys of all the customer requests.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jsd_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|