Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JSON formatting in automation multiline

Chaim Paperman
Contributor
August 7, 2025

I have an automation triggered from a webhook.

The webhook payload will look something like this (all fake data)

[
  {
    "applicant_id": "app-5f8e3c1a",
    "personal_details": {
      "full_name": "Jessica Lee",
      "email": "jessica.lee@example.com",
      "phone": "555-555-1234",
      "address": {
        "street": "789 Pine Street",
        "city": "Fairview",
        "state": "CA",
        "zip_code": "90210"
      }
    },
    "application_details": {
      "job_title": "Senior Data Scientist",
      "department": "Research & Development",
      "application_date": "2025-08-07",
      "status": "Submitted"
    },
    "resume_summary": {
      "education": [
        {
          "degree": "Ph.D. in Computational Statistics",
          "university": "Stanford University",
          "graduation_year": 2024
        },
        {
          "degree": "M.S. in Applied Mathematics",
          "university": "University of California, Berkeley",
          "graduation_year": 2020
        }
      ],
      "work_experience": [
        {
          "job_title": "Data Scientist",
          "company": "Tech Innovations Corp.",
          "start_date": "2024-06-01",
          "end_date": null,
          "responsibilities": [
            "Developed and deployed machine learning models to optimize marketing campaigns.",
            "Led a team of junior analysts to improve data pipelines.",
            "Presented findings to executive leadership to inform business strategy."
          ]
        }
      ],
      "skills": {
        "programming_languages": ["Python", "R", "SQL"],
        "libraries_and_frameworks": {
          "machine_learning": ["Scikit-learn", "TensorFlow", "PyTorch"],
          "data_analysis": ["Pandas", "NumPy"]
        },
        "tools": ["Jupyter", "Docker", "Git"]
      },
      "relevant_projects": [
        {
          "project_name": "Customer Churn Prediction Model",
          "project_details": {
            "description": "Built a predictive model to identify customers at risk of churning, improving retention rates by 15%.",
            "url": "https://github.com/jessicalee/churn-prediction",
            "technologies_used": {
              "primary": ["Python", "Scikit-learn", "Pandas"],
              "secondary": ["Jupyter", "Matplotlib"]
            }
          }
        },
        {
          "project_name": "Image Classification with CNNs",
          "project_details": {
            "description": "Developed a convolutional neural network to classify images of medical scans with 95% accuracy.",
            "url": "https://github.com/jessicalee/medical-image-classifier",
            "technologies_used": {
              "primary": ["Python", "TensorFlow", "Keras"],
              "secondary": ["NumPy", "OpenCV"]
            }
          }
        }
      ]
    }
  }
]

what i am trying to do is take this exact payload and put it in the ticket description

I use

 {code:json} {{webhookData}} {code}

in my automation description, but the result is a one liner as such

[{"applicant_id":"app-5f8e3c1a","personal_details":{"full_name":"Jessica Lee","email":"jessica.lee@example.com","phone":"555-555-1234","address":{"street":"789 Pine Street","city":"Fairview","state":"CA","zip_code":"90210"}},"application_details":{"job_title":"Senior Data Scientist","department":"Research & Development","application_date":"2025-08-07","status":"Submitted"},"resume_summary":{"education":[{"degree":"Ph.D. in Computational Statistics","university":"Stanford University","graduation_year":2024},{"degree":"M.S. in Applied Mathematics","university":"University of California, Berkeley","graduation_year":2020}],"work_experience":[{"job_title":"Data Scientist","company":"Tech Innovations Corp.","start_date":"2024-06-01","end_date":null,"responsibilities":["Developed and deployed machine learning models to optimize marketing campaigns.","Led a team of junior analysts to improve data pipelines.","Presented findings to executive leadership to inform business strategy."]},{"job_title":"Research Assistant","company":"Stanford AI Lab","start_date":"2022-09-01","end_date":"2024-05-30","responsibilities":["Conducted research on probabilistic graphical models.","Published two papers in peer-reviewed journals.","Mentored undergraduate students on research projects."]}],"skills":{"programming_languages":["Python","R","SQL"],"libraries_and_frameworks":{"machine_learning":["Scikit-learn","TensorFlow","PyTorch"],"data_analysis":["Pandas","NumPy"]},"tools":["Jupyter","Docker","Git"]},"relevant_projects":[{"project_name":"Customer Churn Prediction Model","project_details":{"description":"Built a predictive model to identify customers at risk of churning, improving retention rates by 15%.","url":"https://github.com/jessicalee/churn-prediction","technologies_used":{"primary":["Python","Scikit-learn","Pandas"],"secondary":["Jupyter","Matplotlib"]}}},{"project_name":"Image Classification with CNNs","project_details":{"description":"Developed a convolutional neural network to classify images of medical scans with 95% accuracy.","url":"https://github.com/jessicalee/medical-image-classifier","technologies_used":{"primary":["Python","TensorFlow","Keras"],"secondary":["NumPy","OpenCV"]}}}]}}]```

Does anyone know how I can get it to "pretty format"?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events