Tasks from deleted pages still appearing in task report

Anyone know why tasks from deleted pages would still appear in the Task Report? When I try to remove them or at least mark them as completed there is an error (likely because the page it is linking to doesn't exist). However, we can't remove these tasks. Ideas?

1 answer

1 accepted

0 votes
Accepted answer

Hi Rob,

in Version 5.4.2, installed version I tested your scenario and the tasks were deleted after page removal. Hmmm. What version do you use? One suggestion to try - REST API [1]

GET /rest/mywork/task Queries the complete list of tasks the user logged into Confluence.
DELETE /rest/mywork/task/<task ID> Deletes a task by its task ID.
POST /rest/mywork/task Adds a new task and creates an ID for the task.

Take a REST client (browser plugin like Postman) and try to delete them. You need to add request header for

  • Authorization (should be automatically added by the REST plugin if you are logged in)
  • Content-Type: application/json
  • Accept: application/json


1. Get the tasks using GET http://<domain:port>/<context>/rest/mywork/latest/task

2. Delete task with ID 77: DELETE http://<domain:port>/<context>/rest/mywork/latest/task/77

Maybe this helps,

[1] https://developer.atlassian.com/display/CONFDEV/Creating+a+Confluence+Task+Plugin+with+REST#CreatingaConfluenceTaskPluginwithREST-Step2.AddRESTcallsinjs/tutorial-confluence-tasks.js


Thanks for this insight. When I pulled up the task list through the API, the deleted tasks and duplicated tasks did not appear. However, these eroneous tasks still do appear on the Confluence Task Report page. I'm not sure if this is an error with the Dyanamic Task List macro or what the issues is. Any ideas?

Hi Rob,

if you cannot get the duplicates or "delete" by using the REST API, this sounds like they do not exist anymore in the DB. Can you check this on DB level?

To have a clear understanding:

what do you mean by task report page - this plugin [1]? If so, here is the ondemand documentation page [2]. Take a note on this issue [3] - might this relate to your Confluence behaviour?

Within the issue it is written:

This fix will prevent duplicate tasks from being created, but will not remove existing duplicates. That is a separate task tracked by CONF-33903.

If not, please provide information on Confluence version and the plugin you are using.

HTH, Sabine

[1] https://confluence.atlassian.com/display/DOC/Task+Report+Macro

[2] https://confluence.atlassian.com/display/AOD/Task+Report+Macro

[3] https://jira.atlassian.com/browse/CONF-33886

Hi Rob,

the issue is solved for soon coming version 5.5.3 - the latest official release of Confluence is 5.5.2 [1]. Maybe this fix will help to solve your problem. Otherwise, raising a ticket might be good at this point.

So, finally I hope you will get some help from the experts soon.

Please mark a comment as answer.

Thx, Sabine

[1] https://confluence.atlassian.com/display/DOC/Confluence+Release+Notes#ConfluenceReleaseNotes-Confluence5releasenotes

Yes, I'm referring to the Task Report macro. The issue that was sited in the Jira ticket seemed related to our issue in that when pages were moved, that's when the issue occured. However, many of our tasks don't have dates (some do) and we are still getting this issue. Additionally, some tasks were deleted from the pages that were moved yet the tasks still appear.

The Jira ticket you referenced says "resolved" and this is still open for us. I raised a Jira ticket with the details.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

43 views 3 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you