Forums

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

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 Champion
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
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events