Hi,
I'm using ScriptRunner Listeners to update some JIRA tickets in specific scenarios and these were working fine. I know they were because my custom field has a value in from a previous write from my script, but they seem to have suddenly stopped working.
I narrowed it down to this in console:
def result = put("/rest/api/3/issue/AA-1299")
.header('Content-Type', 'application/json')
.body([
fields: [
customfield_11623: "Test"
]
])
.asString()Fails and returns the following:
"body": "{
"errorMessages":[],
"errors":{
"customfield_11623": "Operation value must be an object"
}
}",
"status": 400I swear something has changed recently to stop this working, but i can't see what the problem is.
Any ideas would be appreciated?!