357
Customers have installed this add-on in at least 357 active instances.
    by Volodymyr KrupachAtlassian Verified
    Volodymyr Krupach is an Atlassian Verified vendor. Verified vendors demonstrate Atlassian standards for add-on quality, reliability, and support.

    Learn more

    for JIRA Server 7.0.0 - 7.2.5 and more versions
    Versions available for JIRA Server 6.0 - 6.4.14
    Unsupported
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Unsupported
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Get it nowFree add-on

    Easy way to create JIRA gadgets

    Easy way to create JIRA gadgets

    Easy way to create JIRA gadgets

    Fetch and visualize data from external services

    User timesheet sample script

    No need to create a new gadget when you want to show a table or a chart based on data retrieved from JIRA REST API or any external web service. Universal gadget provides a skeleton to add your JavaScrtipt and HTML/CSS.

    Yahoo weather forecast. I just copied James Fleeting's script http://simpleweatherjs.com, put background image from my vacations and adjusted one line in JavaScript.

    Can be used to see weather for your distributed team.

    Sample script that retrieves worklog data through JIRA REST API and draws timesheet table. The worklog entries can be filtered based on start date, end date, jql and users parameters.

    More details

    After developing few custom JIRA gadgets that relied on data retrieved by JavaScript from JIRA REST API and external services, I asked myself: "why should I develop and package new gadget every time". Since JavaScript is dynamically interpreted, we can have some basic JIRA gadget plugin and give ability to add custom JavaScript code. The custom code will be loaded into the gadget iframe and executed there.

    So whenever I need to show a table or a chart with some data that are retrieved through JIRA REST API, I just write a JavaScript that fetches and displays the data. No need to create and package new gadget every time.

    User reviews

    (9)
    Sign in to write a review »
    by Jaroslav Lhotak on 2016-06-21
    Hi Volodymr, after the last update to 0.3.2 I'm getting an error and the content the widget doesn't display anymore. I can provide you more detailed info if needed. Thank you Jarda com.jiraworkcalendar.ujg:ujg-gadget-resources.js:2 Uncaught URIError: URI malformedf @ com.jiraworkcalendar.ujg:ujg-gadget-resources.js:2b @ com.jiraworkcalendar.ujg:ujg-gadget-resources.js:2template @ com.jiraworkcalendar.ujg:ujg-gadget-resources.js:2template @ com.atlassian.gadgets.publisher:ajs-gadgets.js:22build @ com.atlassian.gadgets.publisher:ajs-gadgets.js:4(anonymous function) @ com.atlassian.gadgets.publisher:ajs-gadgets.js:4reqOptions.success @ com.atlassian.gadgets.publisher:ajs-gadgets.js:4success @ com.atlassian.gadgets.publisher:ajax.js:16AG.ajax.handleCallbacks @ com.atlassian.gadgets.publisher:ajax.js:4params.success @ com.atlassian.gadgets.publisher:ajax.js:14j @ com.atlassian.plugins.jquery:jquery.js:28fireWith @ com.atlassian.plugins.jquery:jquery.js:30c @ com.atlassian.plugins.jquery:jquery.js:154b @ com.atlassian.plugins.jquery:jquery.js:166
    Was this review helpful?YesNo

    Volodymyr Krupach

    Hi Jaroslav,

    Please make sure to clear your browser cache. One more thing to check is that the content you put into the "HTML to append" is encoded via encodeURIComponent. I realized that it's necessary to support minimize/maximize states of gadgets and added it in version 0.3.2 but did not update the docs. You can find samples by looking into the Weather and Timesheets samples. Sorry for the mess.

    If that's does not help, please tell me what JIRA version do you run. As reported by Arne below the addon does not work in JIRA 7.1.x. I will look into it when I am back from vacations. ETA of the fix: beginning of July.

    by Arne Schirmacher on 2016-06-15
    I can't get this to run with JIRA 7.1.x, jdk1.8.0_60 and the atlas-run-standalone command from the Atlassian SDK. Try atlas-run-standalone --product jira --version 7.1.2 --jvmargs "-Xmx1536m -Xms1536m -XX:MaxPermSize=256m" and then install your plugin from the marketplace (tried 0.3, 0.31 and 0.32). It does run with JIRA 7.0.0 though (tried 0.3). The error in the Chrome JavaScript console is: raphael.js?atlassian.aui.raphael.disabled=true:33 Uncaught ReferenceError: eve is not defined(anonymous function) @ raphael.js?atlassian.aui.raphael.disabled=true:33(anonymous function) @ raphael.js?atlassian.aui.raphael.disabled=true:3523 and when setting atlassian.aui.raphael.disabled=false in jira-features.properties the error is: VM32336 ajs.gadget.base.js:595 Uncaught @constructor Gadget: baseUrl is required but has not been set Anyway, many thanks for providing the source code, it is way more useful than Atlassian's gadget examples which do not work.
    Was this review helpful?YesNo

    Volodymyr Krupach

    Hi Arne,

    Sorry, I do not know what raphael.js is and why it crashes for you. I can prove that the addon along with weather and timesheets samples works for my 2 JIRA production instances versions 7.0.4 and 7.0.0. Also the version 0.32 was checked under development instance (atlas-run in folder with JIRA project) JIRA 7.1.6.

    by Vickey Palzor Lepcha on 2016-06-09
    Sure Krupach - I will check ma Jira Install one more time.
    Was this review helpful?YesNo

    Volodymyr Krupach

    Hi Palzor,

    Guess it's a glitch on your JIRA. Try to uninstall the addon and then install it.

    === Update: ===

    As addon developer I do not control installations and updates. Last week I updated the addon on few JIRA's and it went fine. I guess it's something with your JIRA or maybe temporal issue with Atlassian environment.

    Will be thankful for bumping up the rating. The Universal gadget for JIRA is free and the rating is the only thing that motivates me to keep it.

    by Fyodor on 2015-08-17
    I added Universal gadget for JIRA on my mydasboard, however it returns blank area instead of any result (I tested with "Predefined scripts" and with simple html text). It seems, pressing on "Save" button, gadget data was not submitted correctly- I see message with strange response from POST request in console: throw 1; < don't be evil' >{"<jiraServer>/rest/gadget/1.0/currentUser":{"headers":{},"oauthError":"UNKNOWN_PROBLEM","body":"","oauthErrorText":"No oauth_token returned from service provider ... What is wrong? Thanks, Fyodor My JIRA version is 6.2.5. Pressing on "Save" button, page was not reloaded and I saw message in console. I described detailes here: https://answers.atlassian.com/questions/24281864/universal-gadget-for-jira-returns-blank-area Standard gadgets for JIRA works. P.S. Plugin update to 0.3 version resolved problem
    0 out of 1 found this review helpful
    Was this review helpful?YesNo

    Volodymyr Krupach

    Hi Fyodor,

    Tested on 3 JIRAs I have access to and it works fine for me. Could you please let me know your JIRA version. Do other standard JIRA gadgets work for you?

    ======

    Fyodor,

    Please install version 0.3 and let me know if it works fine.

    Pricing

    Support

    Universal Gadget for JIRA isn't formally supported.

    Versions

    Version 0.4 JIRA Server 7.0.0 - 7.2.5 Released 2016-07-01

    Summary

    JIRA 7.x version

    Details

    • JIRA 7.x support.
    • Fixed the gadget to work when there is no authenticated user.
    • Adjusted timesheets sample to work when there are multi timesheets gadgets.
    • Cleaned predefined samples to have readable HTML and JavaScript.

    Please note: From version 4.0 Universal gadget for JIRA is based on dashboard-item module type instead of gadget. Unlike gadgets, dashboard items are not sandboxed in iframes. Hence, you need to set the correct context for the CSS/LESS and JavaScript of your dashboard item to ensure that it doesn't interfere with other dashboard items.

    Installation

    1. Log into your JIRA instance as an admin.
    2. Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate Universal Gadget for JIRA via search. Results include add-on versions compatible with your JIRA instance.
    5. Click Install to download and install your add-on.
    6. You're all set! Click Close in the Installed and ready to go dialog.

    To find older Universal Gadget for JIRA versions compatible with your instance, you can look through our version history page.

    Similar add-ons