I am working on an Automation to iterate through a list of items on a page and generate Jira issues for each item. Since support for iterating through - well, anything - on a page is minimal, my current solution is to use the FOR EACH Task branch, and using Tasks to "check off" items that should be created (users are presented with a template list are check off the ones they need).
FOR EACH Task branch is pretty cool, although AFAICT it can't be limited easily to the current page, but I am having a problem where the {{task.id}} elements that come back aren't represented in the page body that I can see. Whether I use {{{page.body}} or {{page.body.storage}, if I search through the text returned all the IDs appear to be localized (i.e. they start at 1 and go up from there) whereas the {{task.id}}s seem to be global - the tasks on my page range from 5474 up to 5521.
I need to find text in the same table row as input to the Jira issue creation, I was planning to use substringBetween for that with the task ID as part of the selector text, but ... can't find the task IDs in the page representations I can see.
Is there any way to get Confluence to give me the page body with the actual {{task.id}}s?