I am creating the Jira ticket using a webhook like
curl -X POST -H 'Content-type: application/json' -H 'X-Automation-Webhook-Token: ****************************************' \ https://api-private.atlassian.com/automation/webhooks/jira/a/*******
The automation successfully creates the Jira ticket with the Create work item action.
How can I retrieve the Jira ID or link to the created ticket using the curl response?
Is there any way to log it back to a terminal or use an additional webhook to find the issue?
Why are you triggering an automation rule via a webhook to create a ticket?
Why not just create the issue via the API endpoint to create a ticket? https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
Thanks for the hint. I will take a look. I used the webhook because it doesn't require the Jira API token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.