/
Step 1: Create empty stub
Step 1: Create empty stub
In this step, we are going to create an empty entry function. We will use "_ujgCompletedIssues" for AMD module name. You can put anything you like but it should be unique between other instances of Universal Gadget for Jira gadget. Put "_ujgCompletedIssues" into "AMD module" field and use the same name as the first argument of define function in "JavaScript to run" editor. This step can look the following way:
define("_ujgCompletedIssues", [ "jquery" ], function($) { var MyGadget = function(API) { }; return MyGadget; });
This is a stub JavaScript with AMD entry point that returns a function. The function is called by the plugin wrapper code and API object is passed as an argument. You can check API methods.
In step 3, we are going to add some code into the created JavaScript stub.
, multiple selections available,
Related content
Step 2: Retrieve data
Step 2: Retrieve data
Read with this
Step 3: Display data
Step 3: Display data
Read with this
Universal Gadget for Jira: Data Security and Privacy Statement
Universal Gadget for Jira: Data Security and Privacy Statement
More like this
Optional: Add charts
Optional: Add charts
Read with this
Jira REST and Charts sample script
Jira REST and Charts sample script
Read with this
Gantt Suite for Jira v 4.0.x: User settings
Gantt Suite for Jira v 4.0.x: User settings
More like this