The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Find pages where a certain handy status macro is used (and replace)

Peter Schupp
July 16, 2020

Hi Community! We meanwhile have several user defined "handy status" macros in use.
One is doing red/yellow/green the other Prio1/Prio2/Prio3 another one go/stop/attention, ... and so on. However, more than one have the same meaning. So we'd like to reduce them to a minimum number.

How can we find certain pages that use a certain kiund of handy status?
Is there a way to replace a used handy status by another one (semi-automatically)?

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Thomas Bowskill
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 Champions.
July 16, 2020

Hi @Peter Schupp while this doesn't really answer what you need, you might find some help from the "Macro Usage" report that Confluence admins have. That will at least show you the level of use and which pages have which macros. I don't know of a way to auto-replace them though.

See: https://confluence.atlassian.com/confkb/how-to-get-a-list-of-the-most-popular-macros-used-in-confluence-353764197.html

1 vote
Natalie Paramonova _Stiltsoft_
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 Champions.
July 17, 2020

Hi @Peter Schupp ,

To find all the particular statuses, type the following in the search box:

macroName:status-handy AND status:"Name of status"

To replace them semi-automatically, you can try to use status IDs (you can find them in the markup).

Peter Schupp
July 27, 2020

Hi @Natalie Paramonova _Stiltsoft_ , didn't know that! Thanks for the hint!
Is there a list of patterns or can I somehow logically derive the search keys (like "macroName, status, ...) to be used for a search?

0 votes
Joshua Sneed Contegix
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 Champions.
July 16, 2020

Hi Peter,

After identifying the pages, you may be able to use a WebDAV client to handle the replacement portion of your ask.

Cheers!

Peter Schupp
July 27, 2020

Interesting approach, thank you!
I can see the WebDAV configuration in my confluence, however, I wonder if it needs additional configuration on the systens side (not cobfluence, but the server), as I tried several clients but never got connected ...

Anyway, like the idea and will try further. 

0 votes
Peter Schupp
July 16, 2020

THX, that's already a good first step!

Peter Schupp
July 16, 2020

... of course hints on search/replace over all pages and especially "code"/makros are still welcome! :)

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events