Some confluence pages with the "requirements" label do not appear in a page properties report configured to show all pages with the requirements label.
Eg, Page A and B have a page properties macro instance on them (with say fields field_a, field_b) and the "requirements" label applied. Page C has a Page Properties Report macro configured to show properties from pages with the "requirements" label. Surprisingly Page A and its fields do not appear in the page properties report, whereas Page B does. Perhaps more surprisingly, deleting the requirements label on Page A and re-applying it clears the problem (now both pages show up in the page properties report). Persistent issue is figuring out how pages get into this non-working state.
Using the Confluence GUI, pages that aren't showing up in the page properties report do have the requirements label at their bottom right as expected. Using the REST API also shows that the pages in question have the requirements label. Also using the REST API to expand the page content shows that the CQL field driving the page properties report has a query of the form (eg, lablel="requirements" and name ~ XXX").
Searching for pages labelled with "Requirements" doesn't produce the problematic pages when the page properties macro is not working for them - but as noted above the labels appear on those pages when viewed through the GUI.
Can't think of a reason why seemingly replacing the existing "requirements" label with itself on the page fixes the issue, nor why it occurs in the first place.
Any suggestions welcome :-)