Jira macros in Confluence do not auto adjust height
Asked by Kevin_Draggoo:

I've tried this with the "Created vs Resolved" macro and the "Jira Roadmap" macro. I have not performed extensive testing, but it seems when I first add the macro, the height adjusts fine. After I edit the macro, though, the height of the widget is set to a static, smaller value.

I've tried editing various fields for the macro, changing the width as both pixels and percentages. Moving the macro around to different areas of the page. Moving the macro into columns. And other random things.

I'm using Safari on MacOS. This happened before and after I updated MacOS to Catalina.

I just tried it using Chrome on the same Mac. I used the same page where 2 macros of the same type were both too short. Editing the first gadget made the height correct. Editing the second gadget had no change and was still short.

I tempted fate and edited the first macro again. It stayed the same, correct height.


Answers:
author: Ang?lica Luz
body: Hi Kevin,

Thank you for reaching out to Atlassian Community!

I tested here using the new editor and using the macros for Jira Roadmap and Created vs Resolved and it works normally.

The Jira Roadmap doesn't have the option to adjust the width and height and the Created vs Resolved has only "width".

Can you please send us a screenshot of how it looks like when you first add the macro and then how it looks when you edit it?

Is it happening on the new editor or the legacy editor?

Regards,  
Ang?lica

comments: author: Kevin_Draggoo
body: Actually, it just happened during the initial chart insert with a different chart. Here are screenshots before publishing the page. I first tried to insert it outside the grid, then I moved it into the grid. (See screenshots.) Same result. I also added screenshots of the widget settings and preview.

My URL shows "edit-v2" so I assume it's the new editor. ![Screen Shot 2019-10-22 at 3.29.19 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/70265iCEE94E232BB29F5C/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 3.29.19 PM.png")

![Screen Shot 2019-10-22 at 3.29.40 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/70266i2294BBC4A068DA3F/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 3.29.40 PM.png")

![Screen Shot 2019-10-22 at 3.30.28 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/70264i447386CED544F7EA/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 3.30.28 PM.png")![Screen Shot 2019-10-22 at 3.30.13 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/70262i9D07697E255F9E36/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 3.30.13 PM.png")


author: Kevin_Draggoo
body: Now I created the same Average Age Chart outside of the grid using the "/" insert command. Then I published the page. Now, that widget is too tall and my Created vs. Resolved is cut off.

![Screen Shot 2019-10-22 at 3.46.59 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/70271i062B3C9A7F4BCB7C/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 3.46.59 PM.png")


author: Kevin_Draggoo
body: To make it more fun, I previewed an earlier version. The graphs look fine, even if the formatting of the text around it is misplaced.

![Screen Shot 2019-10-22 at 3.50.44 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/70272iD526F30722FDDF8A/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 3.50.44 PM.png")


author: Ang?lica Luz
body: Thank you for the screenshots and details, Kevin.

I was able to replicate the issue on my test site. When I first add the gadget it shows correctly but then adding a layout or just the process of publishing and editing again, the gadget breaks.

This issue was reported as a bug and I added more screenshots and the link to this question:

* [Jira charts are not loading properly on the new editor](https://jira.atlassian.com/browse/CONFCLOUD-67384)

Please, click on "This affects my team" and watch to receive updates about the bug.


author: Kevin_Draggoo
body: Thank you!


author: bpohuski
body: I am experiencing the same issue and has effectively made charts in Confluence useless unfortunately. Automated reporting all on one ecosystem was one of the big reasons why the team moved to Jira \& Confluence. I've voted on the issue raised.


Tags: confluence-cloud