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

  1. 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.
  2. 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.
  3. Fill in the environment, pick it in the environment menu and send the first request.

Environment variables

VariableWhat it is
jiraSiteyour-site in your-site.atlassian.net.
jiraEmailYour Atlassian account email.
jiraApiTokensecretAPI token.
projectKeyKey of the project to create issues in.
issueKeyFilled by "Create an issue".

Requests

Projects and search

  • GET
    Who am I /myself

    Your account; a quick way to check the token.

  • GET
    List projects /project/search

    Projects you can see.

  • GET
    Search issues with JQL /search/jql

    Any JQL query.

Issues

  • POST
    Create an issue /issue

    Creates a task and saves its key.

  • GET
    Get an issue /issue/{{issueKey}}

    All fields of the issue.

  • POST
    Add a comment /issue/{{issueKey}}/comment

    Comments use Atlassian Document Format.