Support Tickets

The SoftLayer ticket API is used to create “classic” or Infrastructure Support cases. These tickets will still show up in your web portal, but for the more unified case management API, see the Case Management API

Note

Windows Git-Bash users might run into issues with ticket create and ticket update if –body isn’t used, as it doesn’t report that it is a real TTY to python, so the default editor can not be launched.

ticket create

Create a Infrastructure support ticket.

Will create the ticket with Some text.:

slcli ticket create --body="Some text" --subject-id 1522 --hardware 12345 --title "My New Ticket"

Will create the ticket with text from STDIN:

cat sometfile.txt | slcli ticket create --subject-id 1003 --virtual 111111 --title "Reboot Me"

Will open the default text editor, and once closed, use that text to create the ticket:

slcli ticket create --subject-id 1482 --title "Vyatta Questions..."
ticket create [OPTIONS]

Options

--title <title>

Required The title of the ticket

--subject-id <subject_id>

Required The subject id to use for the ticket, run ‘slcli ticket subjects’ to get the list

--body <body>

The ticket body

--hardware <hardware_identifier>

The identifier for hardware to attach

--virtual <virtual_identifier>

The identifier for a virtual server to attach

--priority <priority>

Ticket priority, from 1 (Critical) to 4 (Minimal Impact). Only settable with Advanced and Premium support. See https://www.ibm.com/cloud/support

Options

1 | 2 | 3 | 4

ticket detail

Get details for a ticket.

ticket detail [OPTIONS] IDENTIFIER

Options

--count <count>

Number of updates

Default

10

Arguments

IDENTIFIER

Required argument

ticket list

List tickets.

ticket list [OPTIONS]

Options

--open, --closed

Display only open or closed tickets

ticket update

Adds an update to an existing ticket.

Will update the ticket with Some text.:

slcli ticket update 123456 --body="Some text"

Will update the ticket with text from STDIN:

cat sometfile.txt | slcli ticket update 123456

Will open the default text editor, and once closed, use that text to update the ticket:

slcli ticket update 123456
ticket update [OPTIONS] IDENTIFIER

Options

--body <body>

Text to add to the ticket. STDIN or the default text editor will be used otherwise.

Arguments

IDENTIFIER

Required argument

ticket upload

Adds an attachment to an existing ticket.

ticket upload [OPTIONS] IDENTIFIER

Options

--path <path>

The path of the attachment to be uploaded

--name <name>

The name of the attachment shown in the ticket

Arguments

IDENTIFIER

Required argument

ticket subjects

List Subject IDs for ticket creation.

ticket subjects [OPTIONS]

ticket summary

Summary info about tickets.

ticket summary [OPTIONS]

ticket attach

Attach devices to a ticket.

ticket attach [OPTIONS] IDENTIFIER

Options

--hardware <hardware_identifier>

The identifier for hardware to attach

--virtual <virtual_identifier>

The identifier for a virtual server to attach

Arguments

IDENTIFIER

Required argument

ticket detach

Detach devices from a ticket.

ticket detach [OPTIONS] IDENTIFIER

Options

--hardware <hardware_identifier>

The identifier for hardware to detach

--virtual <virtual_identifier>

The identifier for a virtual server to detach

Arguments

IDENTIFIER

Required argument