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

0 votes

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
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

442 views 0 9
Read article

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