Confluence 5.10. Create page Edited

Hello, I would like to create confluence page using Java code.
I tried pageService / pageManager / draftManager / serviceCommand from 
https://docs.atlassian.com/confluence/5.10.0/

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

Hi,

did you try asking this question in the developer community?

https://developer.atlassian.com/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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

396 views 17 9
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