Forums

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

Is it possible to GET Information in Jira-Automation via a webhook?

Andreas K. February 12, 2023

We can make a POST in jira-automation to create a ticket in remote tool named Ivanti/Heat via a webhook (REST-API). So far so good.

The question is: Is it also possible to GET information in the same webhook from the remote tool Ivanti/Heat?

1 answer

0 votes
Vamsi Kandala
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.
February 13, 2023

Hi @Andreas K_

Once the automation rule is executed and you make a webhook call, you can check the status of the webhook call using {{webResponse.status}}.

If the webhook is successful, it returns either 200 or 201 depending on the call.  Based on that, you can check and parse through the response using {{webResponse.body}}.

When you are creating the ticket using the webhook call, chances are, the response will contain the details of the ticket created like the issue key.

You can use another webhook call in the same automation rule accordingly to get the details of the created ticket or another information.

Hope this helps.

Thanks,
Vamsi

Suggest an answer

Log in or Sign up to answer