Forums

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

getting error while accessing key value from the json data in script runner confluence

Sushma
September 12, 2019

Hi Team

I am trying to retrieve the key values from the JSON data in the confluence script runner.

but i am getting the below error.

groovy.json.JsonException: expecting '}' or ',' but got current char 's' with an int value of 115 The current character read is 's' with an int value of 115 expecting '}' or ',' but got current char 's' with an int value of 115 line number 9 index number 217 "value": "<at:declarations /><ac:structured-macro ac:name="section" ac:schema-version="1" ac:macro-id="8d7755f6-be87-4926-80d6-9561a0002bf0"><ac:rich-text-body><p><ac:task-list> .......................................................................^ at Script229.run(Script229.groovy:71)

 

Anyone please help me to resolve this.

Regards

Sushma

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Marc-Allen Johnson
July 27, 2018

Hi Marco,

Could you get around this problem?

Kind Regards,

Marc

Marco Monaco
July 27, 2018

Not really. But we use ScriptRunner Behaviours as a workaround. The Team is mandatory now (for some of our users) independent of the workflow stage.

TAGS
AUG Leaders

Atlassian Community Events