JIRA Workflow editor height too small

Hi,

when I open the workflow editor with the diagram view the Flash window is too small and make it unusable.

Is there a way to set a min-width to it?

3 answers

1 accepted

This widget could not be displayed.
Penny Wyatt Atlassian Team Jul 11, 2012

Hi Luca,

Unfortunately we have a bug that causes the Flash object to not always correctly resize to fill the available window size in some browsers. In these cases, making any adjustment to the window size (just resizing it by a few pixels) will trigger it to wake up and resize correctly.

Otherwise, if it's already taking up the whole available space and it's still not enough, could you please give an indication of the screen resolution you're using? A screenshot would be really helpful if it wouldn't contain any private information.

Thanks,

Penny

It is already taking up the whole available space.

I have a resolution of 1366x768 pixels and I have added a screenshot of the application to this comment.

Penny Wyatt Atlassian Team Jul 11, 2012

Thanks for the quick response.

Ouch, I see the problem - if an instance has a large company logo, an announcement banner, the reindexing message, the administrator sessions banner and only 768 pixels of height, the space gets used up pretty quickly.

I can think of two workarounds for this:

1) You could use the text mode instead. It has the same functionality, just in a text format rather than graphical.

2) Put in some custom javascript to resize the flash object. I am no JavaScript expert, so please treat this with caution! As you are running an installed version of the product, you can put add some hidden JavaScript into the JIRA announcement banner that will resize the object after the page has loaded. Something like this:

<script>
if (AJS && AJS.$) {
AJS.$(document).ready(function () {
if (AJS.$(".workflow-container").length > 0 && window && window.setTimeout) {
window.setTimeout (function() { AJS.$("#jwdFlex").height("800px"); }, 1000 );
}
});
}
</script>

It waits 1000 milliseconds after the document is ready to give the flash object a second to initialise, and then resizes the flash to 800 pixels high. This is a terrible unsupported hack but might be enough to work around the issue for your particular environment.

Kind regards,

Penny

Thanks Penny,

the problem is not blocking, because you can always use text mode, as you said, but I like very much using the diagram instead!

If I'll try your hack I'll write here if it works.

Thank you very much for your assistance!!

You script worked like a charm!!! Yu must reconsider your Javascript skill, well done Penny!!

For anyone who is interested you could insert Penny's javascript in System > User Inteface > Announcement Banner, I only changed height to 500 pixel.

Thank you Penny!

First the graphical editor is MANDATORY in jira because it is the OLNY way to add global and common transitions (not ask me why!).

Currently editing transitions in the graphica editor is really paintful -- the window is using 1/3 or browser screen space.

Penny, Can you provide us with a link to existing bug in Jira?

This widget could not be displayed.

The code of Penny works perfectly.

Thanks a lot

Indeed it does - thanks Penny!

Yep, probalby nobody from Atlassian used the editor to edit real transitions because otherwise they would had fixed this long time ago.

This widget could not be displayed.

The following trick works for me.

Simply reload the web page and scroll down while the page is being rendered. This adds more space to the bottom of the page, which gets filled by the editor window.

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...

146 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