Hello. Im working on a task where i need to get the details of tickets via api. I would like to try it on postman first. example ticket status, or assignee.
Can someone guide me in this? How to get the token and which endpoint to use.
Also what permission do i need to have on my account to get access
@RokeshGoburdhun – Welcome to the forum ![]()
You can learn more about API tokens here: Manage API tokens for your Atlassian account | Atlassian Support
Any Atlassian Cloud user can generate one or more API tokens linked to their account. So, no special permissions are needed for that.
The API token will need the following scope: read:jira-work.
The GET issue endpoint is documented here: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-issueidorkey-get. That will get you the details of a specific work item (“ticket”).
And of course, your personal permissions will also be enforced, which means you’ll need to have access to the Jira item you’re trying to query via the API. The API won’t let you access items that you can’t already access through the user interface.
Hope this helps!