Hi,
I have written a code for Merge Script in Bitbucket. Its working in Admin but in Admin to repository it showing the following error.
[Static type checking] - You tried to call a method which is not allowed: groovy.json.JsonSlurper#() @ line 18, column 20. def JSON_slurper = new groovy.json.JsonSlurper().
These are the import packages i have used for JSON.
import groovy.json.JsonOutput
import groovyx.net.http.HttpResponseException
import groovy.json.JsonSlurper
Thanks,