Hi ,
I have been working on an automation , as part of it I want to compare the value of a property in my JSON payload and store it.
I have sent a webrequest and it was successful , but {{webResponses.last.body}} returns an empty list [] . I could not find the reason as when I validated the webrequest I get the following payload
[ { "id": 12, "name": "ACI", "mappedProjectId": 0, "createNewVersion": true, "deploymentConfiguration": { "showBuildNumber": true, "showDescription": true, "preventDeploymentMerge": false, "readonlyDeployedIssues": false, "preventJiraDeploymentSync": false } }, { "id": 9, "name": "AEM", "mappedProjectId": 0, "createNewVersion": true, "deploymentConfiguration": { "showBuildNumber": true, "showDescription": true, "preventDeploymentMerge": false, "readonlyDeployedIssues": false, "preventJiraDeploymentSync": false } } ]
I want to compare the name with a issue field and store the respective id .
Could someone help or share your thoughts ?
Thanks in Advance !!