Forums

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

LabelManager function no longer works in Confluence's User Macro

Rinaldi Michael March 15, 2025

Hi all,
Atlassian has deprecated the labelManager function from code paths. Has anyone found an alternative to this?

Worked in 8.x.x but has stopped working on versions 9.0.0+


List: https://confluence.atlassian.com/doc/deprecated-code-paths-removed-in-9-0-1333827747.html

https://confluence.atlassian.com/doc/deprecated-code-paths-removed-in-9-0-1333827747.html


Example lines from the code used

$action.labelManager.getLabel( "Label_Value" )

$action.labelManager.getSpacesWithLabel( "Label_Value" )

2 answers

1 accepted

0 votes
Answer accepted
Rinaldi Michael March 27, 2025

I've used ScriptRunner Marcors as a workaround.

0 votes
Dave Liao
Community Champion
March 15, 2025

Hello @Rinaldi Michael !

If you haven't yet, I'd cross-post this to the Atlassian Developer Community, specifically in the Confluence DC section: https://community.developer.atlassian.com/c/confluence/confluence-data-center/40

Rinaldi Michael March 20, 2025

Already have posted the same in the developer community. Judging by the response, guess no one's found a solution yet.

https://community.developer.atlassian.com/t/alternative-to-getlabelmanager-for-confluence-dc-version-9-0-0/90164

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events