Jira

Get, create, update, and delete issues, projects, fields, and more.

Go to site

Jira API Integrations

Build and run workflows using the Jira API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    jira: {
      type: "app",
      app: "jira",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.atlassian.com/me`,
      headers: {
        Authorization: `Bearer ${this.jira.$auth.oauth_access_token}`,
      },
    })
  },
})

Authentication

Jira uses OAuth authentication. When you connect your Jira account, Pipedream will open a popup window where you can sign into Jira and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Jira API.

Pipedream requests the following authorization scopes when you connect your account:

read:jira-workmanage:jira-projectmanage:jira-configurationread:jira-userwrite:jira-workmanage:jira-data-providerread:meoffline_accessread:issue-details:jiraread:board-scope:jira-softwarewrite:webhook:jiraread:field:jiraread:project:jiradelete:webhook:jirawrite:board-scope:jira-software
OAuth Request Configurations:
  1. authorization
    GEThttps://auth.atlassian.com/authorize?client_id={{oauth.client_id}}&state={{oauth.state}}&redirect_uri={{oauth.redirect_uri}}&response_type=code&scope={{oauth.space_separated_scopes}}&audience=api.atlassian.com&prompt=consent
  2. accessToken
    POSThttps://auth.atlassian.com/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=authorization_code&code={{oauth.code}}&redirect_uri={{oauth.redirect_uri}}
  3. refreshToken
    POSThttps://auth.atlassian.com/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}