You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
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?
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