Forums

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

Update the confluence page by pressing a button

Kee Seow Han
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 7, 2024

Hi!

 

I am making a dashboard which shows all the users under their respective roles. For the roles, I want to allow users to check in/check out by the click of a button. When users click the check in button, their name should be pulled from the Confluence API and used to update the dashboard to show that they have checked in. As of now, I am able to pull the name out using JavaScript.

 

What I am struggling with is to make persistent change to the Confluence page after obtaining the username.

 

I am looking at setting up a endpoint server using flask to receive requests from Confluence (upon a button click, Confluence will send a post request to the server using JavaScript) so that I can run a Python script to update Confluence with the username obtained. However the error returned is always "failed to fetch data" so I am not sure how to go about setting this up.

 

Would greatly appreciate any help on going about this or perhaps other ways of updating the Confluence dashboard. Thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events