...
Project and issue level permissions can be easily retrieved with through JIRA REST API.
In the below example we use curl
command in terminal (command line) to send https requests to JIRA from the command line (terminal).
Sending request to JIRA
Following commands can be used to determine project and issue permissions for a user (please replace user, password, jira-url, DEMO and DEMO-1 with your JIRA data):
...
Code Block | ||||
---|---|---|---|---|
| ||||
"WORK_ON_ISSUES": { "description": "Ability to log work done against an issue. Only useful if Time Tracking is turned on.", "havePermission": false, "id": "20320", "key": "WORK_ON_ISSUES", "name": "Work On Issues", "type": "PROJECT" } |
Please notice "havePermission": true
for project versus "havePermission": false
for issue in the above output.