Hi community!
I try to find out if there is a way how to build a general custom user macro, which will display all linked Jira issues to that concrete page with no additional effort.
When you select Jira Macro and put following filter there "issuefunction in linkedIssuesOfRemote("query", "pageId=xxxxxxxxx")" it automatically displays all linked Jira issues to selected confluence page (pageId=xxxxxxxxx).
The question is, if it is possible to build a user macro where pageId attribute will be as a smart value. Something like pageId = {{page.id}} . Then this macro could be used in Confluence page template.
Looking forward to your responses.
Hello @Lucia Stypova ~ you should be able to do this (though I haven't tried so I can't confirm). Here is an OLD post about this that you may want to have a look at: https://community.atlassian.com/t5/Confluence-questions/Get-display-Page-ID-Confluence-Internal-Code/qaq-p/636638 that utilizes $content.getIdAsString(), which does return the pageid, HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.