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 | createCustomerRequest(serviceDeskId, requestTypeId, summary, [description [,requestFieldValues [,requestParticipants [,raiseOnBehalfOf [,channel]]]]]) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Creates a customer request and returns the newly created request as a structure. |
Creates a customer request and returns the newly created request as a structure.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
serviceDeskId | String | Yes | The service desk id. | requestTypeId | String | Yes | The request type id. | summary | String | Yes | The summary of the new request. | description | String | No | The description of the new request. | requestFieldValues | | No | Mappings for the custom fields of the issue that will be created. If you provide a new summary/description here, it will overwrite the parameters already provided. | requestParticipants | String[] | No | Users account ids for the user that will participate on the newly created request. Is not available to Users who have the customer permission only or if the feature is turned off for customers. | raiseOnBehalfOf | String | No | Create the request in the name of another user (user account id should be used). Is not available to Users who have the customer permission only. | channel | String | No | Shows extra information for the request channel. | |
Return Type
JSMCustomerRequest
Example
Code Block |
---|
|
JSMCustomerRequest customerRequest = createCustomerRequest(1, 6, "Request JSD help via Power Scripts", "I need a new *mouse* for my PC");
return customerRequest; |
Creates a customer request and returns the newly created request as a structure.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jsd_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|