Change description of Space in Plugin

Joel Suter October 25, 2018

Hello together

I am trying to change and read the description of a Space in my Plugin. I can't seem to find a way to change it with the Confluence Java API. How can i change it programatically? What do i need to use (Java API, database etc) and how do I need to use it (which class, which table etc).

Thanks for the help

 

 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2024

Hi @Joel Suter ,

you should be able to do that using SpaceManager (save method) passing a Space object in which you edited the description through https://docs.atlassian.com/ConfluenceServer/javadoc/7.12.0/com/atlassian/confluence/spaces/Space.html#setDescription-com.atlassian.confluence.spaces.SpaceDescription-

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events