-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
High
-
Resolution: Done
-
Affects Version/s: 6.5.0
-
Fix Version/s: 6.6.0
-
Labels:None
-
Sprint:DevTools 82
-
Critical Points:0
Steps to reproduce
1 - Go to Script Event handlers in a repository settings
2 - Click on Send Mail event and then select any event on the event dropdown
3 - The endpoint /rest/scriptrunner-bitbucket/latest/events/com.onresolve.scriptrunner.canned.bitbucket.events.email.StashSendCustomEmailListener/params?project=PROJECT_1&repo=rep_1 is returning error 400 with the following response:
{{
{"type":"exception-error","exceptionType":"java.lang.IllegalArgumentException","errorMessages":["Cannot deserialize instance of `java.util.ArrayList<java.lang.Object>` out of VALUE_STRING token\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.onresolve.scriptrunner.canned.bitbucket.events.model.StashSendCustomEmailListenerCommand[\"FIELD_PROJECT_REPO_IDS\"])"]}}}