Forums

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

Automation; display results of web request in table

Brian King
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!
September 27, 2025

I've setup a new Confluence Automation Rule which calls an API, and gets back a list of items.

I've got an 'Edit Page' action which is editing an existing page to append the results.   The results are in a 'Smart values code snippet' as below:

{{#webResponse.body.issues}}
   {{fields.duedate}} {{key}} {{fields.summary}} {{fields.status.name}} 
{{/}}

This is working fine, with the results being appended to the page.  However I'd like the results to be displayed as a table.  I've not been able to work out how to do this.

1 answer

0 votes
David Nickell
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.
September 28, 2025

This looks like Work Item data, which, you could use a Filter Results Widget on the confluence page to display.   Instead of creating  the displayed results, use your automation to flag the results in JIRA (perhaps with a label or dedicated checkbox).  then all the basic tools (FIlter, Confluence widget) will do all the heavy lifting for you.  In addition, your flag (or filter) can be used to drive other reporting or meeting discussions.

One other thing -- be sure you know how long you want the results included on your page. 

  • You may want to clear flags before your automation runs so as to keep the return list accurate
  • Or, maybe the list is also governed by some other attribute.  For example your page is sprint specific so your filter should include sprint in the JQL.

I'm guessing by the time you've read this sentence you've already coded a workable solution :-).  Hope this helps

 

shamelessplug-0000 25 3.39.25 AM.jpg

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events