Forums

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

How to properly format a report and the payload of a post request to send it json format

Esteban Serna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2023

I'm trying to send a daily report to my external app via API using the "post to url" automation. I've tried to use the following patterns without success:

{ name: {cardname}, duration: {{%Duration}} },

{"name": "{cardname}", "duration": {{%Duration}} },

 

And I've used the following formats in the payload field

[ {$report} ]

"[ {$report} ]"

 

But is not working

1 answer

1 accepted

0 votes
Answer accepted
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2023

@Esteban Serna 

 Just this { “report_var” : “{$report}”, ….} should work 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events