Discussions
Categories
Groups
Help
Home
Q&A
Jira
Scriptrunner groovy script json.data error
Chen Qiu_ykyujz
My Scriptrunner code is:
http.get(path:
'/token/getToken'
, query: [appId: appid, nonce: nonce, scope: scope, sid: sid, _sign: sign]) {
resp
,
json
->
json.data
}
It works fine in the console but there's a small error that affects calling it in automation and I'm sure there's a data property in the json object but why is that error
Accepted answers
All comments
There are no accepted answers yet
Welcome!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Unanswered
Groups
Help
Find more posts tagged with
jira
unknown-hosting-type
jira-software-unknown-hosting-type