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

This widget could not be displayed.

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

This widget could not be displayed.

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.

 

This widget could not be displayed.

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 )

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

112 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you