Forums

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

Update confluence page

Suneendra Kumar Reddy
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!
February 13, 2022

Hi team,

I am running shell script to find status of services and it will write store results to csv file. I have data in csv file like column 1, column2, column 3. I want to update confluence page, whatever data is in csv file. Is there any script to achieve my task?

2 answers

2 votes
Katerina Kovriga _Stiltsoft_
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.
February 14, 2022

Hi @Suneendra Kumar Reddy ,

As the result of your script is a CSV file, I can suggest browsing the Marketplace and find some apps that can recreate Confluence tables from CSV files and attachments (there may be even free apps).

What concerns our own app that is Table Filter and Charts for Confluence it's a rather advanced add-on that is used to replace all Excel functions right in Confluence. So it's a paid one.

But it also provides the Table from CSV macro that allow you to recreate tables from attachments/urls/Google Spreadsheets with further filtration, aggregation and visualization.

0 votes
Pramodh M
Community Champion
February 13, 2022

Hi @Suneendra Kumar Reddy 

Welcome to the Community!!

Here is an example of how to update the page

https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/#update-a-page

Get the Page in Storage Format from API

Update the page using PUT request to edit the page

Thanks,
Pramodh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events