on developer environment machine jira plugin smoothly run , but when i tried to run same plugin on other machine (which is not having developer environment(atlassian sdk)). I got 404 error.
here I am adding log :
batch.js?agile_global_admin_condition=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true:9
GET http://localhost:8080/jira/rest/pde/1.0/globalValues?_=1503663018720 404 ()
XMLHttpRequest.send @ batch.js?agile_global_admin_condition=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true:9
getGlobalSetting @ updateGlobalSetting?message=success:580
(anonymous) @ updateGlobalSetting?message=success:583
and My source code is :
var pluginDataStorageUrl = "/jira/rest/pde/1.0/";
var userNamePluginUrl = pluginDataStorageUrl + "globalValues";
console.log("globalparam----------",userNamePluginUrl);
// getting global setting from plugin-data-storage +"?_=1503663018720"
function getGlobalSetting() {
var xhttp = new XMLHttpRequest();
xhttp.open("GET",userNamePluginUrl, true);
xhttp.setRequestHeader("Content-Type","application/json; charset=utf8");
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("plugininfo").style.display = "block";
var globalData = JSON.parse(this.responseText);
console.log("--globalData-----",globalData);
$("#cloudurl").val(globalData.cloudurl);
$("#username").val(globalData.username);
$("#password").val(globalData.password);
$("#accessCode").val(globalData.accessCode);
$("#linkFormat").val(globalData.linkFormat);
$('#urlspan').html(globalData.cloudurl);
$('#userspan').html(globalData.username);
$('#codespan').html(globalData.accessCode);
$('#passspan').html(globalData.password);
$('#linkspan').html(globalData.linkFormat);
}
else if(this.readyState == 4 && this.status == 404){
document.getElementById("plugininfo").style.display = "none";
}
}
xhttp.send();
}
@Leena Prismwhich plugin are you having this issue with?
jira plugin which is design to integrate with topteam cloud and read data from topteam cloud to jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Leena PrismAre you a jIRA Cloud user or JIRA Server? if server what version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error means that the page, which you request in your code, can not be reached from the other machine. Kindly make sure that you can access the link from that machine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.