AnsweredAssumed Answered

How to get the values without double quotes from JSON response

Question asked by Rajkumar_Saminathan on Dec 7, 2017
Latest reply on Dec 8, 2017 by Rajkumar_Saminathan

Hi,

 

Am getting the below JSON response.  Can Someone Suggest How can we get the values without double quotes for the fields startDate & releaseDate in gelscript. Thanks !

 

[
{
"self": "https://abc.xyz.com/rest/api/2/version/11400",
"id": "11400",
"description": "November 2017",
"name": "November",
"archived": false,
"released": false,
"startDate": "2017-10-24",
"releaseDate": "2017-11-20",
"overdue": true,
"userStartDate": "24/Oct/17",
"userReleaseDate": "20/Nov/17",
"projectId": 11219
},
{
"self": "https://abc.xyz.com/rest/api/2/version/11929",
"id": "11929",
"description": "December 2017 - Ph1",
"name": "December 2017",
"archived": false,
"released": false,
"startDate": "2017-12-01",
"releaseDate": "2017-12-12",
"overdue": false,
"userStartDate": "01/Dec/17",
"userReleaseDate": "12/Dec/17",
"projectId": 11219
},
{
"self": "https://abc.xyz.com/rest/api/2/version/11930",
"id": "11930",
"description": "December Ph 2 - 2017",
"name": "December - 2 2017",
"archived": false,
"released": false,
"startDate": "2017-12-13",
"releaseDate": "2017-12-22",
"overdue": false,
"userStartDate": "13/Dec/17",
"userReleaseDate": "22/Dec/17",
"projectId": 11219
},
{
"self": "https://abc.xyz.com/rest/api/2/version/11931",
"id": "11931",
"description": "December Ph3 - 2017",
"name": "December-3 2017",
"archived": false,
"released": false,
"startDate": "2017-12-23",
"releaseDate": "2017-12-31",
"overdue": false,
"userStartDate": "23/Dec/17",
"userReleaseDate": "31/Dec/17",
"projectId": 11219
},
{
"self": "https://abc.xyz.com/rest/api/2/version/11932",
"id": "11932",
"description": "January 2018",
"name": "January 2018",
"archived": false,
"released": false,
"startDate": "2018-01-01",
"releaseDate": "2018-01-24",
"overdue": false,
"userStartDate": "01/Jan/18",
"userReleaseDate": "24/Jan/18",
"projectId": 11219
}
]

Outcomes