Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not empty string response after executing webhook

Andrii Volynets
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 28, 2025

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?

 

1 answer

1 accepted

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2025

HI @Andrii Volynets 

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 

Andrii Volynets
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 30, 2025

Thanks for the hint. I will take a look. I used the webhook because it doesn't require the Jira API token.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events