projectdoc Toolbox

Allows to specify the maximum number of pages matching the Where Constraint of the Tasks Report Macro.

ID
projectdoc.tasks-report-macro.maxInitialPages
Data Type
int
Default Value
100
Since
4.7

The Where Parameter of the Tasks Report Macro allows to select projectdoc Documents to fetch Confluence Inline Tasks. Per default this set of documents is limited to 100 documents. In case the size of the document result set for the given constraint is larger than this number, a warning message will be rendered.

The space property allows to increase or decrease the value of the amount of initially accepted pages.

Details

Limitation

The reason for this limitation is based on the interface of the original Tasks Report Macro. It allows to provide spaces and pages and hence expects a limited number of pages to cover. The list of provided pages is exchanged via whenever a set of tasks is rendered. The length of an HTTP request is limited, therefore we need to limit the number of pages to guarantee to not exceed the usually accepted length of an HTTP request.

In case you can guarantee the correctness of the request even with a larger number in your environment, the space property allows to push the boundaries. Please make sure to take values of other macro parameters, which are also send via the HTTP request into consideration.

The size of the set is typically only a convenience problem. The implementation of the original Tasks Report Macro does not only fetch tasks from the specified pages, but also from the children. So the query simply needs to determine the root page to cover all relevant tasks for the report.

Page aware

The space property can be specified at page level so that the value is only applied to macros on that page.

Resources

Tasks Report Macro
Similar to the original Tasks Report Macro provided by Confluence, but allows to select on document with a Where clause.
Add, Assign, and View Tasks
Information on how to work with Inline Tasks in Confluence as part of the Confluence Server documentation