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

Andrew Allen March 12, 2015

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

3 votes
Sanjay Sharma March 19, 2018

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

1 vote
Viktor_Shelest August 22, 2017

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

1 vote
David Di Blasio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2015

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.

 

0 votes
Ieuan Jenkins July 6, 2017

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.

0 votes
Anthony De Moss
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2015

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 )

Suggest an answer

Log in or Sign up to answer