Confluence DC: Resolve Task Report Macro showing tasks from previous versions
Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Task Report Macro is showing tasks from previous versions of the page.
Environment
Confluence 7.4.3
Diagnosis
Attempting to delete duplicate entries by following the Duplicate tasks appearing in My Tasks or Task Reports KB does not fix the issue, as the tasks are not duplicates.
A similar scenario can also be caused by CONFSERVER-34751 - Importing an XML Export does not create inline tasks and comments correctly. The resolution steps of that bug can also be applied here.
Cause
In rare situations, the "AO_BAF3AA_AOINLINE_TASK" DB table can get corrupt or out of sync with current tasks.
Third-party apps can cause this; applying the resolution steps from this KB will not resolve the cause of corruption, but will clear the corruption itself.
Solution
Warning: Backup your database before proceeding.
Before running any SQL in this article, create a full backup of your Jira database. This is a database-level operation with no undo other than restoring from backup. Only proceed if you're comfortable running SQL directly against the Jira database, and test on a staging or cloned environment first, wherever possible.
Perform a full backup of the Confluence Database.
Shutdown Confluence.
Execute the following SQL Query:
delete from "AO_BAF3AA_AOINLINE_TASK";Start Confluence.
Confluence will re-populate "AO_BAF3AA_AOINLINE_TASK" DB table based on current tasks, skipping tasks in previous page versions
Was this helpful?