Hi, I'm looking to see if it's possible to create a web-item link using ScriptRunner for Confluence where it is a link displayed in a page tree. I'm looking at the documentation below, but I'm not sure if I'm doing this correctly. I'm creating this in Script Fragments, selecting "list-content-tree" as the section it should go in, basing the condition on the space label, and navigating to the desired Confluence page.
For context, this is a request from my boss that we be able to have certain pages from his two teams be available in each team's space page trees. While my first instinct is to use the Except macro (and we might do that in the end), he wants to avoid having pages with duplicate/similar names in two spaces.
If anyone has done anyone similar or can tell me that it's not possible to add a web-item in the page tree (not as a space shortcut), I'd really appreciate it. Thanks!
Hi @Alex Smith
I would not say he is an idiot, but he should overthink this plan again :)
What exactly does he want to achieve? Perhaps there is a better solution.
Would this be an option?
With this you could create a page with 2 columns. In each column paste the page tree macro. One from space A and one from Space B.
It's specifically to display information in two spaces (i.e. meet the team, FAQs, etc) that are the same for my manager's two teams. He wants it in the page tree itself, not a tree on one of the pages.
I'm almost certainly just going to say that the excerpt macro is his friend. Also the use case is so specific and for a limited number of pages it's not a very high priority.
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events