Creating a User Macro on Confluence Cloud

Arturo Kirkconnell July 19, 2022

HI,


I've been trying to add a User Macro for a while now, I believe that Cloud version does not have User Macros? correct me if am wrong, so then we tried doing it on Script Runner, but no luck so far, all we are trying to do is validate a field on a page.

Ex. We have a template where on that template we have a Status field, we would like that the Status field could have any of these 3 values (In Progress, Completed, TMM Presented) and that before the user can hit save on the page, that field gets validated so only one of those 3 values can be used as an input.

Is there a way to do a button select (Radio Button) where users get presented the options they have, and they select accordingly?

 

Thanks in advance

 

3 answers

0 votes
Christian Winter
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!
May 17, 2024

Well it seems finally to be possible to have custom macros in confluence cloud, even though a third party plugin is required https://www.scriptrunnerhq.com/latest/webinars/creating-custom-confluence-cloud-macros-101

0 votes
Bill Bailey
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.
July 19, 2022

You have hit upon the single biggest disappointment with the Cloud version. Not user macros. Your choices are:

  1. Find a third-party plugin
  2. Write your own plugin
  3. Write an app using Forge 
Arturo Kirkconnell July 20, 2022

hi @Bill Bailey thanks for the help here, I'll take a look at Forge. Can this be done using Script Runner? and if yes, any idea how?

0 votes
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 19, 2022

Maybe the new Confluence Page Status macro can help? https://support.atlassian.com/confluence-cloud/docs/insert-the-status-macro/

Arturo Kirkconnell July 19, 2022

Hi, that was kind of my first approach, but that does not let you validate, correct?

 

I am trying to find a way where users can only have 3 options to select for a status.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events