Hi -
I want to create a Jira plugin that adds a tab page to the Activity tab. I want this new tab page to query an external data source that is exposed as a service returning Json.
I would rather write javascript that performs an ajax request to load this data and parse it.
Can someone point me in the right direction to get started.
Do I need a Java class for this?
Thanks,
Create a plugin module "ISSUE TAB PANEL":
Then create a javascript file and implement this code.
function getBoards() { AJS.$.ajax({ url: "https://yourserver.de/rest/greenhopper/1.0/rapidviews/list", type: "GET", dataType: "json", success: function(response){ for (n = 0; n < response.views.length; n++) { // do something } }); }
Embed this file via WebResourceManager in your velocity template.
This AJAX call get all rapid views from Greenhopper. I hope, this will help you!
Hi Mathias -
Thanks for your response.
What I want to do is add a tab page to the Activity tab of an issue. I'm not sure how the code you listed will do that.
Where would this code go?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
refer this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.