Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira macros in Confluence do not auto adjust height

Kevin_Draggoo
October 8, 2019

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. 

2 answers

1 vote
Mario Günter
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 Champions.
November 9, 2015

Hi Wooyong, 

you could use something like that: 

## Macro title: Button mit Link (in neuem Fenster/Tab)
##
## Developed by: Mario Günter
## Date created: 2015-11-09
## Installed by: Mario Günter
## Button with Target Blank
## @param Name:title=Name|type=string|required=true|desc=Title of Button
## @param Link:title=Link|type=string|required=true|desc=Address, e. g. http://google.de?q=Hello World

<a href="$paramLink" target="_blank">$paramName</a>

 

You can "install" this Makro directly to your Confluence at the following administration:

https://confluence.yourdomain.tld/admin/usermacros.action

 

Cheers, 
Mario 

1 vote
Nic Brough -Adaptavist-
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 Champions.
November 8, 2015

I've never seen a "newwinlink" macro as part of a Confluence install, so I'd suggest that where you've used it before, it was provided by an add-on or one of the admins had created a user macro for it.

There's a handful of addons providing this sort of thing in the marketplace, but a simple user macro should do it easily as well.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events