Forums

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

Permission Issue while hitting API in code

Amit Saxena March 24, 2022

Hello Team,

When I am hitting my Permission API in postman it give me "hasPermission =true":

{
"permissions": {
"BROWSE_PROJECTS": {
"id": "10",
"key": "BROWSE_PROJECTS",
"name": "Browse Projects",
"type": "PROJECT",
"description": "Ability to browse projects and the issues within them.",
"havePermission": true
},
"EDIT_ISSUES": {
"id": "12",
"key": "EDIT_ISSUES",
"name": "Edit Issues",
"type": "PROJECT",
"description": "Ability to edit issues.",
"havePermission": true
},
"ADMINISTER": {
"id": "0",
"key": "ADMINISTER",
"name": "Administer Jira",
"type": "GLOBAL",
"description": "Create and administer projects, issue types, fields, workflows, and schemes for all projects. Users with this permission can perform most administration tasks, except: managing users, importing data, and editing system email settings.",
"havePermission": true
}
}
}
But in nodeJS code it gives "hasPermission =false'. I am using same credentials at both places.
Do I have to make any configuration change or anything??
Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events