I'm working to create Confluence templates that will contain Jira macros. Those macros will search based on ScriptRunner JQL that pulls in tickets that are linked to the article via the 'Link Confluence page' function. I can currently add these manually, but am interested in automating as much as possible.
Since I don't believe it's possible to dynamically update the JQL in the Jira macro when a page is created from template (if this is possible, please let me know), I'd like to print the pageid instead. The ultimate goal would be to print the full JQL query so that the user creating the page could just paste it into the macro. I know you can pull the value from the URL when editing, but would prefer to eliminate that as a step. Reasoning is that some of the users who would be creating pages this way are not as adept with JQL and having the full query available would improve buy-in.
Could this be accomplished with template variables somehow?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.