Work with Jira Service Desk-specific entities, such as requests.
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
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS