I tried with the case of user with site admin
role and without site admin
role.
The results returned show no difference?
Site: https://{siteName}.atlassian.net/rest/api/3/mypermissions?permissions=SYSTEM_ADMIN,ADMINISTER,ADMINISTER_PROJECTS
User haven’t site admin role.
{
"permissions": {
"ADMINISTER_PROJECTS": {
"id": "23",
"key": "ADMINISTER_PROJECTS",
"name": "Administer Projects",
"type": "PROJECT",
"description": "Ability to administer a project in Jira.",
"havePermission": false
},
"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": false
},
"SYSTEM_ADMIN": {
"id": "44",
"key": "SYSTEM_ADMIN",
"name": "Jira System Administrators",
"type": "GLOBAL",
"description": "Ability to perform all administration functions. There must be at least one group with this permission.",
"havePermission": false
}
}
}
After add site admin role.
{
"permissions": {
"ADMINISTER_PROJECTS": {
"id": "23",
"key": "ADMINISTER_PROJECTS",
"name": "Administer Projects",
"type": "PROJECT",
"description": "Ability to administer a project in Jira.",
"havePermission": false
},
"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": false
},
"SYSTEM_ADMIN": {
"id": "44",
"key": "SYSTEM_ADMIN",
"name": "Jira System Administrators",
"type": "GLOBAL",
"description": "Ability to perform all administration functions. There must be at least one group with this permission.",
"havePermission": false
}
}
}