The Jira Service Desk API allows you to interact programmatically with your support ticket system, enabling the creation, updating, and management of tickets, customers, and service desk configurations. With Pipedream's integration, you can automate workflows by connecting Jira Service Desk to hundreds of other apps, listen to webhooks for real-time triggers, and execute custom logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jira_service_desk: {
type: "app",
app: "jira_service_desk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.atlassian.com/me`,
headers: {
Authorization: `Bearer ${this.jira_service_desk.$auth.oauth_access_token}`,
},
})
},
})
Automate Ticket Creation from Emails: Create Jira Service Desk tickets automatically when an email is received in a connected mailbox service like Gmail. Use this to ensure requests are logged and actioned quickly.
Sync Support Tickets with a CRM: Maintain alignment between your customer support and sales by syncing new Jira Service Desk tickets with CRM tools like Salesforce. This can help provide sales with visibility into customer issues.
Slack Notifications for High Priority Tickets: Get instant alerts in a designated Slack channel when high priority tickets are logged in Jira Service Desk. This helps your support team to respond rapidly to critical issues.
Emit new event when a customer request is created. See the documentation
Emit new event when a customer request is updated. See the documentation
Create a comment on a customer request. See the documentation
Jira Service Desk uses OAuth authentication. When you connect your Jira Service Desk account, Pipedream will open a popup window where you can sign into Jira Service Desk 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 Service Desk API.
Pipedream requests the following authorization scopes when you connect your account:
read:servicedesk-request
manage:servicedesk-customer
write:servicedesk-request
read:jira:user
read:jira-work
read:organization:jira-service-management
read:me
offline_access
GET
https://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
POST
https://auth.atlassian.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=authorization_code
&
code={{oauth.code}}
&
redirect_uri={{oauth.redirect_uri}}
POST
https://auth.atlassian.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}