Hello, in JIRA 6.3, I call api rest gadget/1.0/intro in Introduction Gadget, but I can't find it in JIRA 7.x. Someone have news about it ?
Thank you by advance for your help.
var gadget = AJS.Gadget({ baseUrl: "__ATLASSIAN_BASE_URL__", view: { enableReload: true, onResizeReload: true, template: function (args) { var gadget = this; gadget.getView().addClass("g-intro"); gadget.getView().html(args.intro); gadgets.window.setTitle("Présentation de JIRA & Documentations"); AJS.$("form").attr("target", "_parent"); gadget.resize(); }, args: [ { key: "intro", ajaxOptions: function () { var apiUrl; apiUrl = AJS.contextPath() + "/rest/gadget/1.0/intro"; return { url: apiUrl, dataType: "html" }; } } ] } });
JIRA 6.3.15 api browser :
jira6.3.15 api gadget 1.0 intro.png
JIRA 7.2.2 API browser :
jira7.2.2 api gadget.png
Error message in JIRA 7.2.2 :
<status> <status-code>404</status-code> <message> null for uri: http://localhost:2990/jira/rest/gadget/1.0/intro </message> </status>
Community moderators have prevented the ability to post new answers.
Hi cyrille,
This is not the supported API so I guess that Atlassian removed it when shifting from the old "gadget" modules to new "dashboard-item".
It's better to rely only on supported REST API and create own REST API entries if needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.