Dropdown Menu — Confluence Cloud Macro
This Confluence user macro provides a permission-aware status selector that saves the selected value as a page content property via the Confluence Cloud REST API.
Server-side, it checks whether the user can edit: if onlyEdit=true, it validates update restrictions; otherwise, it optionally verifies membership in specified allowedGroups.
Client-side, it renders a styled dropdown built with AUI (AJS.toInit) and predefined status sets (e.g., Traffic Light, Sprint, Issue, Email).
On load, it fetches the existing property from /api/v2/pages/{id}/properties and applies the saved status if present.
If a selection changes, it creates or updates the property using proper version incrementing.
You May Also Like
Create dropdown menus in Confluence Cloud with custom option sets, multiselect support, and permission-based access controls
Create dropdown menus in Confluence Cloud with predefined option sets, multiselect support, and permission-based access controls
Fetch a random quote from DummyJSON API and display it in a stylized blockquote format
Convert a specified amount of cryptocurrency to a fiat currency
Get the latest cryptocurrency exchange rates for major coins
Generate IDs in Base32 format
Display the top comments from a selected Confluence page, or from the current page by default
Display a "Delete me" message only for editors while editing a page
Filter Confluence groups based on a specified filter value and display the results in different formats
Generate a list of all content created by the current user by default, or by a specified user, across your Confluence site

