Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-6292

Not escaping JSON characters on custom payload in webhooks automation

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 4.2.0
    • 4.1.0
    • Automation
    • None

      When:

      1. adding a webhook with "comment added" trigger,
      2. using a variable ${comment} on a custom payload, like: 
        {{{ "message": "日本語のキーボード", "variable": "${comment}" }}}
      3. I add a comment with the following text: { "message": "日本語のキーボード", "variable": "日本語のキーボード" }

      Then: 

      1. A webhook is called with an invalid payload, like this:

      { "message": "日本語のキーボード", "variable": "

      { "message": "日本語のキーボード", "variable": "h1. 日本語のキーボード  " }

      "
      }

          Form Name

            [JSDSERVER-6292] Not escaping JSON characters on custom payload in webhooks automation

            No work has yet been logged on this issue.

              kkanojia Kunal Kanojia
              kkanojia Kunal Kanojia
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: