Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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?

2 answers

1 accepted

0 votes
Answer accepted

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]

<th>
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

Example:

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,
Sabine

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

Sabine,

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.

1 vote

I am having this issue now

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

474 views 6 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you