Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira REST with apitoken - 403 Forbidden

Chuck Youngfeldt September 20, 2018

I need help getting my JIRA instance to accept REST.  its v.7.3.8
It's configured OAUTH with MFA so I need to use an apitoken.

I can successfully use my username:token with Confluence and bitbucket rest interfaces but just with JIRA, i get 403

Could this be a Jira setting?

Appreciate insite/advice anyone has to share.

 

Thanks!

2 answers

0 votes
Matthias Gaiser _K15t_
Community Champion
September 23, 2018

Hi @Chuck Youngfeldt,

as @Nir Haimov said, 403 sounds like either Jira accepted your credentials and you don't have the permissions or didn't find credentials at all in your call. Since the call seems to work in your browser, I'd guess the first one is the case.

Some questions to point you to a possible solution or us to provide better help:

  • How are you performing your rest calls? For testing REST calls, I've found a tool like postman quite useful. There's even a Jira collection available so you can get started with all the calls quite easily.
  • Have you tried other endpoints than the one you are mentioning? 
    You could e.g. try to get the list of all fields

Cheers,
Matthias.

0 votes
Nir Haimov
Community Champion
September 21, 2018

If you get 403 that means you don't have access to do the action you are trying to do in Jira via REST API.

Try to check your Jira permissions for the thing you are trying to do

Chuck Youngfeldt September 21, 2018

I can run the command from a browser as the same jira user and have no issue.

My user has administrator and system-administrator rights plus I am doing the most basic of operations

  rest/api/latest/issue/createmeta

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events