Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Status macro with predefined selections visible in edit mode

Christoph Harrer
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!
March 17, 2022

Hello, 

The status macro is very useful and readable. But it's seems often very repetitive to reconfigure it all the time(title + color).

Is there a possibility to have a preconfigured sets of title/color combinations that can be selected by two clicks?

  • 1) select macro and enable edit
  • 2) select the target title&color combination

I was looking through some drop-down list macros, but they are only visible in preview or final view. In this case it should be readable in edit-mode

If nothing like this is around. Maybe some custom macro can be produced? I was finding some documentation for creating user macros or plug-ins but I am a bit confused which one I should look into. 

  • User macros seem to only be rendered in preview or final view, never in edit mode. Is this correct?
  • Then I need to go for plug-ins if functions in edit mode are needed?

Br, Christoph

 

2 answers

1 accepted

1 vote
Answer accepted
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.
March 17, 2022

Hello @Christoph Harrer . Since you are on server, you are in luck. I have at least a partial solution to your problem already drawn up. Please take a look at my article here:

https://community.atlassian.com/t5/Confluence-articles/Getting-Started-with-User-Macros-Writing-a-Wrapper-Macro/ba-p/979571 

Take a look

Christoph Harrer
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!
March 18, 2022

Hitting the nail on the head, thanks for the quick answer! I will try it out.

Daniel Toth
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 26, 2023 edited

Hello @Bill Bailey , I like your wrapper example and I am looking for something similar which seems to be more complex. Particularly, I'd like to extend the macro "popular labels" by the filter "excludedLabels" which is e.g. in the macro "listlabels". Can you help me out here? Thanks!

1 vote
Stiltsoft Support
Atlassian Partner
March 28, 2022

Hello @Christoph Harrer ,

Try our Handy Macros for Confluence app. It has many macros in a bundle including Handy Status. It allows you to create custom sets with multiple statuses and reuse them across pages. In addition, you can configure visibility per each set (personal, space, global), connect status with page label for future quick search by labels, and track the history of status changes.

status server.png View+the+status+history.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events