I have just found that one of my customers Jira Server REST APIs (bulk issue create) returns to the AJS/JQuery success function but contains no data. It should be returning a list of issues it has created. Has anyone else had this problem?
As far as I understood, the user was currently logged in and the AJS command should have been passing the cookie with authentication. In the end I moved the code to run in Java instead. Got around the problem