Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This step is about putting JavaScript to fetch and display information. For Jira Cloud ajax calls have to be made through AP.request and for Jira Server jQuery ajax is used. The script is for Jira Cloud and to avoid duplicating of the code I have put appropriate comments for Jira Server.
 

...

While fixing bugs and making changes in your JavaScript you need to reload the board page since AMD modules are cached after first processing. For more info on the gadget API please check API Calls predefined script that goes together with Universal Gadget for JIRA Jira.

Congratulations! You've just created your custom JIRA custom Jira gadget! The result should look like:

...