Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Merge script working in Gobal Admin but not in Admin to repository.

ARAVIND M
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2016

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,

 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 16, 2016

please stop forwarding me questions just because you've asked them, it's really annoying and I ignore them.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events