J tricks - Little JIRA Tricks
  • Home
  • Plugins ↓
    • JQL Tricks Plugin
      • JQL Tricks Plugin - Cloud
        • JQLT Cloud Installation
        • JQLT Cloud Configuration
        • JQLT Cloud Usage
        • JQLT Cloud License
        • JQLT Cloud FAQ
      • JQL Tricks Plugin - DC
        • JQLT DC Installation
        • JQLT DC Configuration
        • JQLT DC Usage
          • JQLT Issue Functions
          • JQLT Subtask Functions
          • JQLT Links Functions
          • JQLT Development Functions
          • JQLT Worklog Functions
          • JQLT Project Functions
          • JQLT Component Functions
          • JQLT Version Functions
          • JQLT Group Functions
          • JQLT User Functions
          • JQLT Date Functions
        • JQLT DC License
        • JQLT DC FAQ
        • JQLT DC Known Issues
        • JQLT DC Performance
      • JQL Tricks Cloud Migration
    • Simplified Planner
      • J-Planner Installation
      • J-Planner Configuration
      • J-Planner Usage
        • Creating a plan
        • Editing a plan
        • Deleting a plan
        • Viewing a plan
        • Modifying a plan
      • J-Planner FAQ
    • Atla-Search Plugin
      • Atla-Search Installation
      • Atla-Search Configuration
      • Atla-Search Usage
      • Atla-Search License
      • Atla-Search FAQ
    • Heroku for Compass App
      • Heroku for Compass Installation
      • Heroku for Compass Configuration
      • Heroku for Compass Usage
    • Copy to subtask Plugin
    • All Plugins
  • Tutorials
  • The Book
  • Contact Us
  • Home
  • Plugins ↓
    • JQL Tricks Plugin
      • JQL Tricks Plugin - Cloud
        • JQLT Cloud Installation
        • JQLT Cloud Configuration
        • JQLT Cloud Usage
        • JQLT Cloud License
        • JQLT Cloud FAQ
      • JQL Tricks Plugin - DC
        • JQLT DC Installation
        • JQLT DC Configuration
        • JQLT DC Usage
          • JQLT Issue Functions
          • JQLT Subtask Functions
          • JQLT Links Functions
          • JQLT Development Functions
          • JQLT Worklog Functions
          • JQLT Project Functions
          • JQLT Component Functions
          • JQLT Version Functions
          • JQLT Group Functions
          • JQLT User Functions
          • JQLT Date Functions
        • JQLT DC License
        • JQLT DC FAQ
        • JQLT DC Known Issues
        • JQLT DC Performance
      • JQL Tricks Cloud Migration
    • Simplified Planner
      • J-Planner Installation
      • J-Planner Configuration
      • J-Planner Usage
        • Creating a plan
        • Editing a plan
        • Deleting a plan
        • Viewing a plan
        • Modifying a plan
      • J-Planner FAQ
    • Atla-Search Plugin
      • Atla-Search Installation
      • Atla-Search Configuration
      • Atla-Search Usage
      • Atla-Search License
      • Atla-Search FAQ
    • Heroku for Compass App
      • Heroku for Compass Installation
      • Heroku for Compass Configuration
      • Heroku for Compass Usage
    • Copy to subtask Plugin
    • All Plugins
  • Tutorials
  • The Book
  • Contact Us

JIRA Workflow Designer Trick!

6/3/2013

7 Comments

 
I am sure most of you would know what a JIRA workflow is. And most of you would have custom workflows implemented in your JIRA instance - for good or bad!

And while maintaining those workflows you certainly would have used the JIRA workflow designer. Even people like me, who always likes to choose the "Text" view over "Diagram" view, has had to use it at some point. For example, while adding common transitions.

There is no doubt that the "Diagram" view offers a pretty good view of the workflow BUT only when the computer screen uses the right resolution! I use a MacBook Pro with the resolution 1280 x 800 and the workflow designer was almost always unusable. And it was pretty much the same until I learned that I am not the only one with this issue. Unlike me, Luca Andreatta chose to ask this question to the group of Atlassian Answers geeks (which I am proud to be a part of btw!) and Penny Wyatt from Atlassian gave a simple Tip/Trick that saved me a lot of time which I used to spend running over to my old PC and back!!

Well, I was enjoying the little trick, along with a number of lucky ones who came across that post, but I thought I should share it with the visitors of this site - with all donuts sent in the way of Luca and Penny. Especially after the release of JIRA6, where the workflow editor is pretty much invisible on the screen.

You don't believe me? Please see the screenshot.
Picture
So, here is the simple javascript trick that made workflow designer a much better option.

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


All you need to do is to add this in to the announcement banner and Voila!
Picture
Way better, huh?

I don't know if there is an existing bug opened for this but I hope this post helps someone. Atleast for me, I can use this as a bookmark for this trick because I have used this with quite a number of JIRA instances now!

Before we wind up, what does this script do? In Penny's own words,

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

Terrible? Not for me! Adjust the numbers to get the best results for your resolution.

7 Comments
Karie Kelly
6/14/2013 02:33:36 am

This is help sooooo much as I, too, am a macbook pro user! Thanks for posting!

Reply
taber loveless
7/10/2013 01:07:21 pm

YEEEEEEEEEEEEESSSSSSSSSSSS!!!!!!!
Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you!

Reply
MDU
12/5/2013 03:45:30 am

While on the workflow designer screen you can also simply restore down to a smaller window, slide the scroll bar down to the bottom of the screen and then restore up. That seems to do the job for me.

Reply
J-Tricks
12/5/2013 02:30:21 pm

That's great. Btw, which version of JIRA is it?

Reply
дать объявление о поиске работы в липецке link
5/14/2014 01:40:52 pm

i was just browsing along and came upon your site. just wantd to say great job and this post actually helped me.

Reply
rose
6/29/2016 10:33:19 pm

Hi ,
I am new in JIRA ,just i could not fine the graphical diagam to design workflow ,i look for this issue then can find your post,honesty i do not know how i can use this java script code and where i have copy that ,please guide me,really appreciate
Cheers,
Rose

Reply
J-Tricks
7/1/2016 03:13:31 pm

Which version of JIRA is it? This is not applicable in the latest versions. JIRA 6 and higher uses the HTML5 editor.

Reply

Your comment will be posted after it is approved.


Leave a Reply.

    Enter your email address:

    Author

    Jobin Kuruvilla - Works in Adaptavist as Head of DevOps Professional Services. 

    Author of JIRA Development Cookbook and JIRA 5.x Development Cookbook.


    RSS Feed

    Categories

    All
    Acive Objects
    Ajs
    Book
    Components
    Condition
    Custom Fields
    Customization
    Events
    Gadgets
    Javascript
    Jql
    Listener
    Mail
    Permissions
    Plugin Framework
    Post Function
    Properties
    Remote Invocation
    Reporting
    Rest
    Scheduled Tasks
    Search
    Services
    Soap
    Summit
    User Interface
    Validator
    Webwork Actions
    Workflow

    Archives

    October 2016
    August 2016
    March 2016
    January 2016
    December 2015
    May 2014
    December 2013
    November 2013
    July 2013
    June 2013
    April 2013
    October 2012
    September 2012
    August 2012
    July 2012
    May 2012
    March 2012
    February 2012
    January 2012
    December 2011
    November 2011
    June 2011
    May 2011
    April 2011
    March 2011
    February 2011
    January 2011
    November 2010
    October 2010
    September 2010
    August 2010

SUPPORT
APPS
TUTORIALS
THE BOOK
© J-Tricks