I want to update Absences column via API for confluence page like this:
My aim is fetch data regarding timeoffs and put it here on confluence page. Is there any elegant way to do it?
I managed to fetch data from Clockify already and it looks like json below:
[
{
"userName": "Client dev 1",
"timeOffPeriods": [
{
"start": "2025-08-15",
"end": "2025-08-15"
},
{
"start": "2025-09-15",
"end": "2025-09-19"
},
{
"start": "2025-09-22",
"end": "2025-09-22"
},
{
"start": "2025-12-22",
"end": "2025-12-23"
},
{
"start": "2025-12-24",
"end": "2025-12-26"
},
{
"start": "2025-12-29",
"end": "2025-12-31"
},
{
"start": "2026-01-01",
"end": "2026-01-01"
}
]
},
{
"userName": "Client dev 2",
"timeOffPeriods": [
{
"start": "2025-08-11",
"end": "2025-08-15"
},
{
"start": "2025-09-15",
"end": "2025-09-19"
}
]
},
{
"userName": "Client dev 3",
"timeOffPeriods": [
{
"start": "2025-08-25",
"end": "2025-08-25"
}
]
}
]
Hi @Tomasz Cyranski ,
You can't update Confluence tables with API access. It's unfortunately only manual.
ok so is there any way to do it via API?
Like:
1. GET all page
2. parse it outside
3 make needed changes
4. PUT whole page
IS there any examples of it? Anyone tried that approach?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This should be possible, however I have no examples.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.