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