# Fehlende Werte in der ProjectTasks-API

**URL:** <https://community.awork.com/t/fehlende-werte-in-der-projecttasks-api/4193>\
**Category:** Developer Forum\
**Created:** [29. Oktober 2025 um 14:49 UTC](https://community.awork.com/t/fehlende-werte-in-der-projecttasks-api/4193 "2025-10-29T14:49:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick.hamer](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/patrick.hamer/32/733_2.png) [@patrick.hamer](https://community.awork.com/u/patrick.hamer)\
**Post date:** [29. Oktober 2025 um 14:49 UTC](https://community.awork.com/t/fehlende-werte-in-der-projecttasks-api/4193/1 "2025-10-29T14:49:01Z")

</div>

Moin,

ich habe ein Problem mit den Remaining-Werten in der API.  
Wenn ich die Daten aus [https://api.awork.comapi/v1/me/projecttasks](https://api.awork.comapi/v1/me/projecttasks) abrufe, sind die Werte Tasks.remainingDuration und Tasks.totalRemainingDuration teilweise leer, obwohl es eine Geplante Zeit und erfasste Zeit gibt.  
Im folgenden Beispiel ist ganz gut zu erkennen, wie inkonsistent die remainingDuration berechnet wird.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/awork1/original/2X/1/15adabed28c8dcac6e4cdf557b8048226c2b5cb9.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/awork1/original/2X/c/c33fd8714ce377432f9de8d7a045ad89d221e7c5.png)

Ihr könnt ja mal nachschauen, woran das liegen könnte. Ich bin da ehrlich gesagt ratlos, da ich auch kein Muster erkennen kann.

Viele Grüße

Patrick

---

<div class="post-metadata">

**Author:** ![ian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/ian/32/664_2.png) [@ian](https://community.awork.com/u/ian)\
**Post date:** [3. November 2025 um 08:11 UTC](https://community.awork.com/t/fehlende-werte-in-der-projecttasks-api/4193/2 "2025-11-03T08:11:50Z")

</div>

Hi @patrick.hamer ,

thanks for letting us know. The remaining duration should always be updated of course. We will take a look and get back to you.

Kind regards

Ian

---

<div class="post-metadata">

**Author:** ![ian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/ian/32/664_2.png) [@ian](https://community.awork.com/u/ian)\
**Post date:** [25. November 2025 um 09:58 UTC](https://community.awork.com/t/fehlende-werte-in-der-projecttasks-api/4193/3 "2025-11-25T09:58:02Z")

</div>

Hi @patrick.hamer ,

sorry for the delay. The RemainingDuration and TotalRemainingDuration have been deprecated for quite a while now. I will update the [changelog on the developer docs](https://developers.awork.com/changelog) as those properties will be removed at the end of the year.

They can be easily calculated:

```auto
RemainingDuration = PlannedDuration - TrackedDuration

TotalRemainingDuration = TotalPlannedDuration - TotalTrackedDuration

```

Hope this helps.

Best wishes

Ian

---

<div class="post-metadata">

**Author:** ![patrick.hamer](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/patrick.hamer/32/733_2.png) [@patrick.hamer](https://community.awork.com/u/patrick.hamer)\
**Post date:** [25. November 2025 um 10:13 UTC](https://community.awork.com/t/fehlende-werte-in-der-projecttasks-api/4193/4 "2025-11-25T10:13:32Z")

</div>

Hi Ian,

Thanks for your reply.

I already calculate the remaining time, but I don’t like to do calculations in my queries when the data is supposed to come from the system. But now I know, and I’ll remove the remaining data from the queries and leave the calculations in.

Kind regards

Patrick
