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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.