Hello,
Sorry for the delay.
I think the problem you are facing is coming from the CLI having an issue to manage autopagination with the GET /api/v2/organizations/limits/changerequests endpoint (I assume you had autopagination enabled/turned on).
The paging on GET /api/v2/organizations/limits/changerequests endpoint appears to be a little bit different than other endpoints using the same paging approach (after/before). And the CLI could not cope with it.
I have just implemented a fix in the CLI for this.
A new version with this fix is available - version 147.0.0
Could you please try it and let us know if that solves your issue?
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
------------------------------
Original Message:
Sent: 11-16-2025 19:20
From: Yusuke Higashino
Subject: transformstr option does not work with [gc organizations limits changerequests list] command.
I want to prepare a command in the GC CLI to output the history of Change Requests for multiple organizations to CSV.
I attempted CSV output using transformstr as shown below, but it hangs and no results are output.
Command:
gc organizations limits changerequests list --transformstr="{{- range . -}}\"{{.key}}\",\"{{.requestedValue}}\",\"{{.description}}\",\"{{.supportCaseUrl}}\",\"{{.status}}\",\"{{.currentValue}}\",\"{{.dateCreated}}\",\"{{.dateCompleted}}\",\"{{.id}}\"{{ printf \"\n\" }}{{- end -}}
Is there something wrong with the syntax?
Other commands with similar syntax output to CSV successfully.
Regards,
#PlatformCLI
------------------------------
Yusuke Higashino
Engineer
------------------------------