Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-38

Support special characters in Automation Audit Log, allow JSON in Audit Log

    XMLWordPrintable

Details

    • 4
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The Audit Log action in Jira Automation is great, but overly limited.

      One common request is to be able to use newlines to break up Audit Log output. Example: Jira automation insert new line into the audit log

      Another would be to insert a useful character like tab. Tab characters help to facilitate copy-and-paste operations from the Audit Log to spreadsheets. Using CSV is another option, but this actually adds more steps to an already manual process.

      The forum post linked above mentions that HTML is currently used to display the Audit Log text. Using a simple and standard read-only text area instead seems like a straightforward solution for display.

      The existing Audit Log text input can still be used. The only additional logic needed would be to ensure that the few supported sequences (such as \n and \t) work as expected.

      ***

      Incoming webhook trigger in Jira automation and then add a Log action with smart value webhookData the output I see in the log is as below which seems to be improper JSON, it seems to be stripping the quotes "" from attributes and values

      It's difficult to troubleshoot when it's just a long string of text, without the proper JSON format it's not possible to copy and paste to an editor like notepad+++

      Attachments

        Issue Links

          Activity

            People

              89403358cf11 Charlie Gavey
              fdab86d56f31 Mykenna Cepek
              Votes:
              64 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated: