Confluence 5.10. Create page Edited

Hello, I would like to create confluence page using Java code.
I tried pageService / pageManager / draftManager / serviceCommand from

But no solution is working. 
I have a content which I can save into logged-in user drafts as a regular draft with content (visible in edit mode after open draft in confluence), but there is no way how to save a draft to new page from java code.
If anybody knows how to create regular confluence page with ID and with content (i do not mean title, but regular contentBody) / or save existing draft into new page, 
Please tell me.

P.S. without using REST API I would like to do it with JAVA / Confluence API

1 answer


did you try asking this question in the developer community?

This is rather a developer question. You'll find help there.

I did not. I am going to try. I have no clue there is another community blog only for developers.
thanks very much

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

895 views 45 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you