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

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

Task Report macro shows duplicate tasks that cannot be completed

Reopening the question posted here:

https://community.atlassian.com/t5/Confluence-questions/Task-Report-macro-shows-duplicate-tasks-that-cannot-be-completed/qaq-p/1534866

I have a page with a Task Report macro showing all open tasks for a project.

Recently, some tasks listed are duplicates and have an incorrect page under the "Task appears on" column. I've tried deleting and creating a new macro on the page, but it still shows the duplicate tasks. I also get an error that the "task change couldn't be saved" when I try to mark it as completed from the macro. Since the page listed under "Task appears on" is incorrect, then there's no way to find the task otherwise. Is there a fix for this?

 The suggested solutions in the answer marked as "solution" do not work, especially on a Atlasian Cloud instance with no access to the DB...

 

Please help us !

1 answer

1 vote
Diego Atlassian Team Dec 09, 2020

Hello @Xavier Krantz !

This behavior has been reported and was resolved by Atlassian recently. You may still encounter pages that are affected by this may need to follow the workaround presented under the comments there or raise a ticket.

Here is the report:

Let us hear from you!

Hi @Diego ,

 

Thanks for the heads up.

Unfortunately, we still have the issue. We are running Jira/Confluence on Atlasian cloud.

Like Tamimi likes this

I can confirm that the issue is still present on our end unfortunately... We are running Jira/Confluence on Atlasian cloud as well, and the issue is that I can see a duplicate task when querying all the tasks under a space, both tasks have different ids (content, global and id) but I am unable to delete a task by itself 

@Xavier Krantz can you attempt to do the following steps and see if it resolves your issue

  1. Create a new, blank page.
  2. Copy the content of the affected page that is causing the duplicated tasks, and paste into the new page.
  3. Delete the affected page.
  4. Rename the new page, so it uses the name of the deleted one.

Hi @Tamimi 

I have just try your suggestion and I have the same issue

I meant the deleting the page where the actual tasks resides in and not the page where the macro is configured in (just incase there was confusion in what I suggested..) 

 

The way that I cam across this is by using the Confluence cloud REST API to query all the tasks in a space

`https:/<your_confluence_host>/wiki/rest/api/inlinetasks/search?spaceKey=<space_key>&limit=500&assignee=<user_id_for_which_there_is_dup_tasks>`

 

and I realized that the same tasks content has two occurrences with different IDs. I followed the steps of create new blank page, copy content, delete affected page, rename new page and that fixed my issue

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,517 views 7 29
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