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

Can someone please guide me the Java API configuration for Confluence.

Sandeep Boorla Nov 24, 2017

My task is to create and update Confluence pages using JAVA API. I have found the question related to them. But I couldn't find a question related to Configuration. As I am new to Confluence, Can someone please guide me or provide me the sample project file.

2 answers

Sandeep Boorla Nov 26, 2017

Hi Boris, 

Thanks for the response. I have found these Links earlier. As I mentioned in the description, I found the documentation, questions for the Development/coding. I am looking specifically Configuration/Setup related things. 

Sorry that I am not looking for plugins development.

0 votes
Nic Brough [Adaptavist] Community Leader Nov 27, 2017

The Java API is for writing add-ons or doing stuff inside Confluence.  It can't be used.  So "create and update Confluence pages using JAVA API" and "I am not looking for plugins development" are mutually exclusive.

What exactly are you trying to do here?  You said creating pages, but your last comment is about configuration.  Could you explain what you are trying to do?

Sandeep Boorla Nov 27, 2017

Hi Nic, Sorry for that. I am having Zero knowledge on Confluence.

My task is to Create and Update Confluence pages by using Code. Via Java coding or by making REST calls.

I have found the questions for REST API coding part. Please check below links.

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-create-page-using-JAVA-API/qaq-p/559754

https://bitbucket.org/jaysee00/confluence-rest-api-example/src/99cee347f6630fe0937538fc3902dcf2e9cd5037/src/main/java/com/atlassian/api/examples/Main.java?at=master&fileviewer=file-view-default&_ga=2.195516069.845048572.1511517416-1109847124.1509446058 

 

But to make use of this links and start my work, I should have the proper setup/configuration. So I would like to know what kind of project I should create, what are the required libraries/jars, and setup related things.

Please let me know if this is clear or I should get clear idea. :P

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,394 views 11 28
Read article

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