-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
3
-
Currently, the Task API in Confluence faces issues with conflict resolution when multiple tasks are updated simultaneously, resulting in a 409 CONFLICT error. This is due to parallel API calls leading to "competing" writes, as indicated by StaleStateException in the logs.
To address this, we propose enhancing the Task API to handle StaleObjectExceptions more gracefully. This would involve refreshing the content object upon encountering such errors and attempting to re-update the data instead of failing outright. Implementing this improvement will enhance the reliability and user experience when using the API for batch task updates.