You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
There was a question posted in 2019 about the need for this. The original accepted response was:
We're currently in the process of redesigning a new experience for the expand macro which will allow it to both nest and work seamlessly on any device.
We'll absolutely let you know once it's live!
Sadly, that response was made in August of 2019 and has yet to come true. We're now coming up on three years without this feature. The PM who posted the original response hasn't had any activity in the Atlassian community since January of 2020 and was last active in May of 2020. I've decided to post the question again in hopes of a meaningful response.
I gave an answer to that post (which I will link below) which shows that nesting expands is possible, we just don't have UI functionality for it. Is this something that is on the roadmap that we can look forward to? This was a feature on Jira server that I myself, and I'm sure many others, used fairly heavily. I also believe that users of the cloud version without prior experience in this feature would also love it and get a benefit from it's existence.
Original post:
Solved: Nesting one expand macro in another (atlassian.com)
My Solution:
The functionality is still there on the cloud side, it's just not existent in the editor. If you build pages dynamically using the APIs or have post-processing done via API calls to generate the pages, you can nest your expands. Below is a sample API call. In the below example, replace the items in double square brackets [[]] with your own content. It still needs to be added to the editor itself, and this is far from a perfect approach, but it's the only option right now that I can see as feasible. If you attempt to use the cloud editor after using this method, you'll see the below error in sections you've used this work around.
{
"type":"page",
"title":"[[$PageTitle]]",
`"version":{
"number":[[$VersionNumber]]
},
"space":{
"key":"[[$PageSpace]]"
},
"body":{
"storage":{
"value":"<ac:structured-macro ac:name=\"expand\" ac:schema-version=\`"1\`" ><ac:rich-text-body><h1>First Nested Level</h1><ac:structured-macro ac:name=\"expand\" ac:schema-version=\"1\" ><ac:rich-text-body><h2>Second Nested Level</h2></ac:rich-text-body></ac:structured-macro></ac:rich-text-body></ac:structured-macro>",
"representation":"storage"
}
}
}
This is also receiving some more attention because of Bring back the option to add macros within a numbered or bulleted list which was something one could do in previous versions and depends on Nest Expand or other Bodied Macros in another Macro to be implemented
It seems like they're finally looking into this issue again! There's a Jira ticket last updated on 06 Oct 2022 that's Unresolved and Under Consideration. Hopefully, that means there's good news coming soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.