JSM Utility Workflow Functions
List of the Jira Service Management specific workflow utilities
What? | Function Name | Returned Variable Type | Parameters | Parameter Type | Comment |
---|---|---|---|---|---|
Get Service Desk |
|
|
|
| If user connect through portal, just return his current service desk. For other channels let user select service desk. If on JSM only one service desk return it automatically. |
Get Authorization token |
| String |
|
| Returns Authorization for the current user |
Switch Service Desk |
|
|
|
| Let the user select service desk and set it into If in JSM two service desk, switch to second automatically |
Get request type |
| Based on |
| Mandatory, String (could be a variable) | Define a list of request types available for the given ticket and ask user to select one of them |
| Optional, “int” or “tuple” (“int” by default) | ||||
| Optional, Srting | ||||
Get change type ID |
| Integer (if change type is not applicable returns None) |
| Mandatory, String | Check |
Get slot filling default values |
| Dictionary |
| Optional, Srting | Uses |
| Optional, Srting | ||||
Process fields |
|
|
| Mandatory, Integer | Defines all mandatory and extra fields for the given request type in the given service desk and fill them with the user replies or default values (where defined) |
| Mandatory, Srting | ||||
| Optional, Srting | ||||
| Optional, Dictionary |