Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-814

SendCustomEmailListener breaking after selecting event for repo admin

    Details

    • 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

      Description

      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\"])"]}

      }}

       

        Attachments

          Structure

            Activity

              People

              Assignee:
              rlander Reece Lander
              Reporter:
              bcarlosdacunha Bruno Carlos da Cunha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel