Ability to modify JSON structure sent by Automation Action "Send message to amazon SNS"

XMLWordPrintable

    • 2

      Issue Summary

      This is reproducible on Data Center: No

      In Jira automation, when using the component 'Send message to amazon SNS', you will get a message in the following format:

      Publish message to SNS Topic
      Successfully sent the message "{"automationData":{"code":"CREATE_APPROVED_PERFECTS","data":"

      {\"external_jira_id\": xxxxxx, \"project\": \"TEST\"}

      "}}" to the topic arn:aws:sns:eu-west-1:xxxxxxxxx:pld-aws-cdk-test-devPLDClipRequestxxxxxxxx-xxxxxxx

      Now we want to know if it's possible removing the word 'automationData'.

      Steps to Reproduce

      1. Create a new automation rule
      2. Set trigger to manual
      3. Setup the Send message to amazon SNS step
      4. Trigger the rule

      Expected Results

      JSON workload gets sent without the "automationData" wrapper at the top level. (Or at least can be configured to include/exclude this or change it.

      The format expected is the one configured by this server/datacenter only plugin: https://marketplace.atlassian.com/apps/1216067/automation-with-aws-jira?hosting=server&tab=overview

      Actual Results

      There isn't any control over configuring this.

      Workaround

      Currently no workaround.

              Assignee:
              Unassigned
              Reporter:
              Avery (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: