It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to authenticate Confluence Cloud using Confluence Java Library and create a page?

My requirement is to create confluence page for daily status report which has jira information's where I initially used to send those data's via email using Jira rest client java library.

I found below maven dependency for Confluence Java Library to play with Confluence using Java

<dependency>
<groupId>com.atlassian.confluence</groupId>
<artifactId>confluence</artifactId>
<version>7.2.0</version>
<scope>provided</scope>
</dependency>

 

I was able to find some information on how to get spaces and handle pages using SpaceManager and PageManager but couldn't find a documentation on how to authenticate a user with the confluence and create a page with the connection.

But however I found a similar question here but left unresolved without a comment.

Please advise how to authenticate a user with confluence and create a page with the connection created. Please share a piece of code if possible.

Your help is much appreciated and Thanks in advance. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

4,117 views 4 6
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you