@scottalanmiller I am trying to download the open tickets in the ticketing queue and analyze the same through ticketing api using curl command.
I am trying from dev desktop through bash
curl -k "$URL" | iconv -f 8859_1 -t UTF8 | json_xs -t yaml
When I tried that command i got the error as
% ./updatedscript.sh
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 165 100 165 0 0 311 0 --:--:-- --:--:-- --:--:-- 311 100 640 100 640 0 0 788 0 --:--:-- --:--:-- --:--:-- 788 malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<!doctype html><html...") at /usr/bin/json_xs line 181, <STDIN> line 1.
I have installed the perl as well through this command.
yum install "perl(YAML)" -y
still facing this issue.
AIM : Do download the open tickets which is pending in our queue and analyze the data which is above 20 days not updated and then update the ticket to ask whether the issue is resolved for him.