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?
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
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.