Ajax post call authorization error.

I recently upgraded from 4.2 (to 5.0), and now a gadget that I made is no longer working.

The part of the gadget that is not working is the ajax post call to a .jsp page.

var myStuff = "ActionType=GetListOfUsers&EventID=&User=&JiraKey=&Comments=&StartTime=&EndTime=";







success: function(msg){

// This is not returning value

// Instead I get the Error below:


error:function (xhr, ajaxOptions, thrownError){

alert("Error: " + xhr.status);




You are not authorized to perform this operation. Please try to <a href='/login.jsp?os_destination=%2FMyGadget%2FCalendarEditTestV3.jsp'>log in

Is there a setting in jira to allow for this?

I already have

Accept remote API calls set to true

As well, i have the

jira.websudo.is.disabled = true

Any help would be greatly appreciated. Thank you.

Other things I've tried include:


1 answer

Ok, this was a non issue. It was making the call successfully and the issue was on the JSP page (the user tables changed in the jiradb from 4.2 to 5.0)

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

176 views 12 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot