I was looking for “modified at” field for projects API and observed inconsistent behavior. I tried updating project title, description, etc but the modified at date was only being updated once and after that it did not update for some time, but I could see the updated data in the API response.
Is there any reason why this might be happening? When is the modified at field updated?
I was looking for “modified at” field for projects API and observed inconsistent behavior. I tried updating project title, description, etc but the modified at date was only being updated once and after that it did not update for some time, but I could see the updated data in the API response.
Is there any reason why this might be happening? When is the modified at field updated?
The “modified_at” field in the Asana API is designed to update when significant changes are made to a project. However, there are some nuances to its behavior:
Inconsistent Updates: The “modified_at” field may not update immediately with every change, such as minor edits or updates to certain fields. [This can lead to the behavior you observed where the field updates once and then not again for some time].
Significant Changes: Typically, the “modified_at” field updates with significant changes like status updates, major field changes, or structural modifications.
API Response: Even if the “modified_at” field doesn’t update, the API response will still reflect the latest data. This ensures that you have the most current information, even if the timestamp hasn’t changed.
For precise tracking of changes, consider using the Events API or setting up webhooks to monitor specific changes in real-time.
If you continue to experience issues, it might be helpful to reach out to Asana support for further assistance.