Tasks macro displays a task given it's id. It it used when displaying a task-report.
To reproduce:
- Create a task on the main wiki.
- Copy the task id (we assume its 1)
- Go to wiki2
- Insert the the tasks macro inside the content of a page and put the copied id as a parameter like so
{{tasks ids="1"/}}
- Save and view
Expected: An error would be displayed as no task with id = 1 exists on wiki2.
Actual: The task created on the main is displayed
This affects confluence migrations as well. For example, we create and run a migration on wiki2 and have no tasks on the main wiki. As a result, the migrated task-report macros will have their entries full of errors.

Alternatively, if the main wiki did contain tasks, the task column of the livetable would contain inaccurate data.
Tasks macro displays a task given it's id. It it used when displaying a task-report.
To reproduce:
{{tasks ids="1"/}}Expected: An error would be displayed as no task with id = 1 exists on wiki2.
Actual: The task created on the main is displayed
This affects confluence migrations as well. For example, we create and run a migration on wiki2 and have no tasks on the main wiki. As a result, the migrated task-report macros will have their entries full of errors.
Alternatively, if the main wiki did contain tasks, the
taskcolumn of the livetable would contain inaccurate data.