It seems that problem is in your web page, that provides the REST service, because it returns the status code 401 with the valid json data instead of the status 200 + json data. If the gadget gets the status code of anything 4xx it assumes the error occured and ignores your json data. That's why you get undefined values.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

But if you developed your own custom REST service, then it is probably easier to make it public, because providing a user/pass combination to a user, through the javascript is not in any way more secure than a simple anonymous/public REST service. Also, if you did develop your own standalone REST service (i.e. it wasn't a JIRA server) then your own service handler is returning status 401 (instead of 200 or 2xx), when it returns the valid Json reply data.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...