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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,198
Community Members
 
Community Events
184
Community Groups

API to export Knowledge Base articles from Confluence

There is a requirement to export the KB articles using REST API. Is there any API available since I could not fine any.

1 answer

0 votes
Jerryton Surya
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 23, 2023

Hi @kompal_sithta 

I hope this API will help you to export a knowledge-base article

  1. Use the GET /wiki/rest/api/content/{id}?expand=body.storage endpoint to retrieve the content of each Knowledge Base article by ID.
  2. Extract the content from the JSON response and save it to a file in the desired format (e.g., HTML, PDF, etc.).

@Jerryton Surya how to retrieve the article id?

Jerryton Surya
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 23, 2023
  1. Click on the "..." menu in the top right corner of the page and select "Page Information".
  2. In the Page Information dialog, locate the "Page ID" field. This is the base article ID for your Knowledge Base.

@Jerryton Surya  is there any api for the getting the content of Knowledge base from jira service management ?

Jerryton Surya
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 23, 2023

You can use the following API endpoint to retrieve the articles from a knowledge base:

GET /rest/servicedeskapi/knowledgebase/{knowledgeBaseId}/articles

Replace {knowledgeBaseId} with the ID of the knowledge base you want to retrieve the articles from.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events