Rest API is giving unauthorised result for external users

Vamsi July 9, 2018

API : https://getitdonenow.atlassian.net/rest/api/2/issue/

Body : 

{
"fields": {
"project": {
"key": "DEMO"
},
"summary": "issue not resolved",
"description": "issue not resolved",
"issuetype": {
"name": "Story"
}
}
}

 

auth creadentials :  (muser, bxr3sTOyzoPJ1CfAisLs5EBE)

Try this from your end and help me in getting the result

1 answer

0 votes
Claudiu Lionte
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2018

Hi Vamsi,

That is the expected behavior. If someone does not have access to your Jira issues in the Web User Interface, then the same person will also not have access if using the REST API calls.

If you want to provide a user access to your Jira site, you need to create an account for that person. Then, they will have access on both the UI and the REST API

Claudiu

Vamsi July 9, 2018

I am not using it from web browser interface, I am checking it from postman. A public API should work for all users right? I want to use this API in my C# code. It's not working in the code. Only working for me that too in postman extension. I need that to work all users.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events