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,554,456
Community Members
 
Community Events
184
Community Groups

Confluence REST API v2 - no body content (tasks)

Hello community, I am trying to pull the data from Confluence tasks

I got the json objects back from the API but there is content missing

Does anyone know how to get the body of these tasks?

Please see screenshot below

 

1.png

Also, I'm writing an app that fetches and maps confluence tasks, but I can't get the json responds.

What am I doing wrong, I have all rights to view and in the web view of the rest of the call I can see the Json objects, but why can't I call them up via the app?

Symbol „Von der Community überprüft“

const loadTasks = async () => {

const response = await api
.asUser()
.requestConfluence(route`/wiki/api/v2/tasks`, {
headers: {
'Accept': 'application/json'
}
});

const responseJson = await response.json(); //extract JSON from the http response
// log response to console for testing
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
console.log(responseJson)

return responseJson;
}

Thanks in advance

0 answers

Suggest an answer

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

Atlassian Community Events