Templates · Productivity
Jira Cloud REST API collection template
Search with JQL, read and create Jira issues and add comments.
What's inside
Jira Cloud REST API v3: check who you are, list projects, search issues with JQL, create an issue and comment on it.
6 requests in 2 folders · Base URL https://{{jiraSite}}.atlassian.net/rest/api/3 · Basic auth
Set it up
- Open Jira Cloud REST API in Requestarium (or in the app: Import, Start from a template) and import it. You get the collection and a "Jira Cloud REST API" environment.
- Create an API token at id.atlassian.com/manage-profile/security/api-tokens and sign in with your Atlassian email and that token. Set jiraSite to the part before .atlassian.net.
- Fill in the environment, pick it in the environment menu and send the first request.
Environment variables
| Variable | What it is |
|---|---|
jiraSite | your-site in your-site.atlassian.net. |
jiraEmail | Your Atlassian account email. |
jiraApiTokensecret | API token. |
projectKey | Key of the project to create issues in. |
issueKey | Filled by "Create an issue". |
Requests
Projects and search
- GETWho am I
/myselfYour account; a quick way to check the token.
- GETList projects
/project/searchProjects you can see.
- GETSearch issues with JQL
/search/jqlAny JQL query.
Issues
- POSTCreate an issue
/issueCreates a task and saves its key.
- GETGet an issue
/issue/{{issueKey}}All fields of the issue.
- POSTAdd a comment
/issue/{{issueKey}}/commentComments use Atlassian Document Format.