It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Allow jira {panel} and {code} blocks to be collapsible

It would be super-useful, when including long error snippets or other data in a JIRA description or comment, if you could indicate the {panel} or {code} block to be collapsible (like the {expand} macro in Confluence does)

 

5 answers

collapse=true does not seem to work in code or panels for *Jira cloud* .. unless i am doing something wrong

1 vote

Hi Andrew, 

I agree this functionality would be super useful. I did some digging around in our bug/feature tracker and found a closed request for this functionality. 

https://jira.atlassian.com/browse/JRA-33995

Since it's set as closed I went ahead and created a new request for this functionality. 

https://jira.atlassian.com/browse/JRA-42428

Feel free to watch/vote on this issue for updates :smile:.

 

Until Atlassian fixes it, you could use this:  https://marketplace.atlassian.com/plugins/com.topshelfsolution.quicksuggestmacros

It includes an expander macro that could be placed around any content and make it collapsible. (in addition to other macros, like the fancy issue links you see above :smile: )

Seems like JRASERVER-42428 is also now closed.

Since it's closed, I went ahead and created a new request for this functionality: JRASERVER-65575.

I believe you can go with 

{code:bash|title=Tech details for Admins|collapse=true}

echo Not documented feature \

works better \

than unreleased :)

{code}

Works perfect in Jira 7x with the plugin - https://bitbucket.org/hski/syntaxplugin-public/overview

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you