January 2024
🔍 Summary
January brought a wide range of foundational improvements to the User Macro for Confluence Cloud app. The focus was on expanding helper capabilities, improving macro editing UX, and addressing several critical and structural bugs for better stability and developer clarity.
✨ New Features & Enhancements
Increment / Decrement Helpers
Introduced syntax like{{number++}}to simplify counters and index tracking in loops.Smart Values: Conditional Logic Helpers
Launched a set of conditional helpers following Handlebars + Jira Automation syntax, enabling more flexible macro logic.Copy Helper with Autofill for Required Parameters
Improved the copy macro functionality with intelligent autofill and tab support, reducing user confusion.Preview System Variables in Template Editor
Users can now preview system-defined variables like page title, user info, and timestamps directly in the macro editor.Import Macro UI When Empty
Updated the macro import interface to allow easier onboarding when no macros have yet been created.Embedded Documentation for User Parameters
Integrated inline documentation, JSON schema visibility, and Monaco editor enhancements for a better developer experience.Unique Macro Name Handling
Prevented name duplication issues by alerting users and clarifying conflicts that arise in the Macro Browser.Helper Parameter Structure Update
Refactored internal wrapper structure for better extensibility and reliability.
🛠 Bug Fixes & Improvements
500 Error on Macro Edit in Wrong App Context
Fixed a major bug where editing macros in certain environments caused server errors due to incorrect app routing.Page Load Failures Due to Key Mismatch
Resolved a critical issue where the macro browser received conflicting keys from Atlassian’s side.Macro Body Not Rendering
Addressed a bug where macros using{{macro-body}}rendered as empty in view mode."Hide" Checkbox Not Hiding Macros from Browser
Fixed the visibility toggle issue affecting macro registration in the UI.Current User, Page, and Space Helpers — Structural Fixes
Re-aligned helper object formats with Atlassian’s official schema.Missing Documentation Links in API v1 Helpers
Added proper documentation references to helpers likeGet Group,Get Members, and others.Render URL Not Updating on Copied Macro
Corrected logic that failed to update therenderURLfield when copying macros with new keys.