Checking/unchecking a Task Item in a page causes other Tasks Items to trigger the same behavior

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

In a page containing multiple task items, when checking/unchecking one of the task items, some of the other task items replicate the behavior.

Environment

Confluence 6.14.3

Diagnosis

  1. In a page that contains those Task Items, click on the top right menu: ...
  2. Click on View Storage Format;
  3. You will see, in the storage format, that some of the Task Items contain a duplicated value in the <ac:task-id> tag.

    Page Storage Format
    <ac:task>
    <ac:task-id>1</ac:task-id>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Text for task item macro 1</span></ac:task-body>
    </ac:task>
    <ac:task>
    <ac:task-id>2</ac:task-id>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Text for task item macro 2</span></ac:task-body>
    </ac:task>
    <ac:task>
    <ac:task-id>2</ac:task-id>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Text for task item macro 3</span></ac:task-body>
    </ac:task>

Cause

Each Task Item in the Task List macro must have a unique ID. When two or more Task Items have the same task-id value, checking one of them will trigger other tasks with the same id to check as well.

Solution

You need to eliminate the duplicated task-ids. There is two ways to accomplish this:

  • Re-create the Task Item:
    1. Copy the Task Item description to another text editor;
    2. Delete the Task Item;
    3. Manually create a new Task Item by clicking on Insert more Content ( + ) > Task List. Do not copy another Task Item from the same page;
    4. Paste the description from the text editor into Confluence.
  • Directly edit the page source code:
    1. Install the Confluence Source Editor app;
    2. Edit the page;
    3. Within the Page Editor, click on the Source Editor: < >;
    4. Manually replace the duplicated task-ids for unique values.
Last modified on Mar 3, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.