Skip to content

SLCLI - Response shows additional new lines (\n) in ticket details  #887

@acamacho82

Description

@acamacho82

A softlayer customer reported the following:

"May I kindly ask you to correct an issue with slcli version 5.2.14 which displaying hostnames in "slcli ticket detail [id]" with unexpected line breaks in comparison to the web portal version.
It is very hard to automate and parse those content with this annoying displayed output."

I reproduced the issue, see attached image.

I executed "slcli --format=json ticket detail [id]" and comparing with REST, the SLCLI returns the description with additional "new lines" ( \n ).

Expected Behavior

Ticket details should be displayed like in portal page, without extra new lines \n

Actual Behavior

Ticket details isn't displayed like in portal page because it has extra new lines.

Environment Information

Operating System: Windows
slcli version: 5.2.12 and 5.2.14
slcliissue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions