Problems - add details
Use this command to add details to a reported problem.
Problems - add notes
Adds a note to the specified problem.
To add a note to a problem:
admin.problems[0].addnote('New note')
Problems - add files
Adds a file to the specified problem. This command is asynchronous.
To add a file to a problem:
admin.problems[0].addfile('<path_to_file>', <showProgress>)
Where:
path_to_fileis either a file on the local system or the ID of a system log on the remote IBM® Cloud Pak System W3550. If you add a system log, use the ID property for a system log returned by theadmin.systemlogscommand.showProgressis an optional parameter that you can use when you add a file. If set to ‘True’, it displays the file upload progress. Using this parameter causes the request to be synchronous.
Example 1: Upload a file to Cloud Pak System and
include upload progress in the output:
admin.problems[0].addfile('C:\\uploads\\myFile.txt', True)Example 2: Add an existing system log to the problem:
admin.problems[0].addfile('19f51811-d9c0-4b44-8ab6-bdcb2fe127a7')Problem - create service ticket
Creates a service ticket from a problem.
admin.problem[0].createserviceticket()
Problem - import service ticket
Adds a service ticket from a problem. This service ticket must exist in Cognitive Support Platform and must not be assigned to any other problems in your environment.
admin.problem[0].createserviceticket("06234999000")