The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

403 on POST issue creation in browser but works in postman

Ash
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2020

Getting a 403 when running the same exact request I am running in Postman in the browser. Its not my credentials, because my other requests are working fine (all GET requests) and my user has permission to create issues. I don't understand why the same exact request would work in postman... but not on localhost within my dev environment.

https://api.atlassian.com/ex/jira/418b1b61-99b2-4e3f-8c27-33f47fac0226/rest/api/3/issue
Accept: application/json
Authorization: Basic ---encoded creds---
Body: {    "fields": {        "project": {            "id"10097        },        "summary""Test - Please ignore",        "issuetype": {            "name""Task"        },        "customfield_10018"127,        "customfield_10086"2,        "labels": ["Design"]    }}

Like I said, 201 created in postman and 403 when running from my browser.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Deleted user
September 14, 2020

Can you please advice what web browser are you using and what REST API tool in that browser?

You said you were running Postman 'in the browser', but Postman is a stand-alone application that doesn't run 'in' a browser.

TAGS
AUG Leaders

Atlassian Community Events