Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Extra Jira Service Management (Cloud) specific functions are available.

...

What?

...

Function Name

...

Returned Variable Type

...

Parameters

...

Parameter Type

...

Comment

...

Get Service Desk

...

wf.itsm.jsdm.get_service_desk

...

Let the user select service desk

...

Get Authorization token

...

wf.itsm.jsdm.get_authorization_header

...

String

...

Returns Authorization for the current user

...

Switch Service Desk

...

wf.itsm.jsdm.switch_service_desk

...

Let the user select service desk and set it into projectKey variable

...

Get request type

...

wf.itsm.jsdm.get_request_type

...

Based on return_type

...

desk

...

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

...

return_type

...

Optional, “int” or “tuple” (“int” by default)

...

reqtype_name

...

Optional, Srting

...

Get change type ID

...

wf.itsm.jsdm.get_change_type

...

Integer (if change type is not applicable returns None)

...

change_type

...

Mandatory, String

...

Check change_type among applicable change types. Returns it ID if found, else None

...

Get slot filling default values

...

wf.itsm.jsdm.get_slot_filling_default_values

...

Dictionary

...

req_type

...

Optional, Srting

...

Uses jsdm_slot_filling_default_values.csv as a source

...

change_type

...

Optional, Srting

...

Process fields

...

wf.itsm.jsdm.process_fields

...

desk

...

Mandatory, Integer

...

Defines all mandatory fields for the given request type in the given service desk and fill them with the user replies or default values (where defined)

...

req_type

...

Mandatory, Srting

...

extra_fields

...

Optional, Srting

...

default_fields

...

You can find more information here: JSM Utility Workflow Functions

Custom functions

Also, you can build custom Python functions for interacting with users, invoking requests on external systems, and returning results.

...