How to create a Dynamic button showing the current status

Lorinda Lahiff
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!
January 10, 2025

Is there a way to create a button on the webpage that will show the status of the system?

Typically, there's a status link in a home page that users can click on to get to the status page to see the current status. Is there away to have a dynamic button in the home page? For example, if the status page is showing no issues, then the button to get to the status page would be green. If the status page is showing there are issues, then the button to get to the status page would be red or yellow.

1 answer

2 votes
Sahir Maharaj
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.
January 11, 2025

Hello @Lorinda Lahiff

Based on my experience, creating a dynamic button that reflects system status is possible with frontend development using tools like JavaScript.

You can use an API to fetch the current status from your status page and dynamically update the button’s color and label.

For example, a script could poll the API periodically and adjust the button to green, yellow, or red based on the status, providing real-time updates to users.

Hope this helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events