How do you get /rest/agile/1.0 endpoints with Oauth?

I've got Oauth configured. I get an 401 unauthorized when I hit the `/rest/agile/1.0` endpoints though. I can access `rest/api/latest/project` endpoints.

Am I missing something? 


4 answers

0 votes

The REST authentication method should not have any effect on this.  However if the user account that is being referenced in OAuth is only a Jira Core user or Jira Service Desk agent, and not a Jira Software user, then you technically would not have access to the agile/software endpoints in REST.

That is the only thing I can think of that would explain why you can reach the non agile endpoints, but not the agile ones.

I'd recommend checking to make sure that your account is in a group that has been granted access to JIra Software (if in Cloud or Jira 7.x or higher).   Licensing and application access explain how to do this in the web gui.

It may be something wrong with particular REST request. Could you please add more details:

  • Request type (GET/POST)
  • Full endpoint (GET /rest/agile/1.0/board for example)
  • Request example

I have the same problem, I am trying to get all boards by calling "rest/agile/1.0/board/" using javascript routine from another application but I always got 401 Authorization Required and "Reason: CORS preflight channel did not succeed", I use Basic authentication method, but when I call rest/api/2/issue/ from the same javascript routine and same application and same authentication method it works good, 

the user I used for basic authentication has "JIRA Software" applicationRoles

could you please tell me what is missing?

0 votes

I did some more research into this problem.  It appears that there are a pair of documented bug for this over in

It appears this is something that Jira can't do in the current versions.  While is is not a clear fix in site, there is a work-around listed on one of these of:


Setup a proxy and rewrite Access-Control-Request-Method header. See for example: Apache, as a proxy

I hope this helps.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,723 views 17 21
Read article

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