Hi
I am trying to add a comment to jira ticket using rest api 2
I tried to manually create json file by referring to jira developer site but while creating a json file using shell script getting error below
{"errorMessages":["Illegal unquoted character ((CTRL-CHAR, code 9)): has to be escaped using backslash to be included in string value\n at
I do not know where the problem with the Json is below
{"body": "
........................................
MEMORY UTILIZATION
Total Memory : MB
Available Memory : MB
Buffer+Cache Memory : MB
Free Memory : MB
Used Memory : MB
Memory Usage Percentage : %
MEMORY OK
........................................
........................................
CPU UTILIZATION
Number of Cores :4
Total CPU Load Average for the past 15 minutes :0.53,
CPU Usage % :76.90
........................................
end
"
}
If I add the same content to manually created json file it perfectly works.