Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Hari Hara Bhuvanesh M March 13, 2020

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
AUG Leaders

Atlassian Community Events