I've created a rule that triggers upon an incoming webhook, and further sends a webhook via get request. The requests are working, but if I want to access the data from the webhook using smart values, which webhook does the smart value reference? The incoming one or the outgoing one? Is there a way to access the last one (outgoing get request)?
Trying to understand your question. You can access the response that you get from the REST call using the following smart value.
{{webhookResponse.body}}
Let me me know if this is what you were looking for?
Ravi
Thanks Ravi.
I was accessing the webhook data via smart value --> {{webhookData}}
So my question is more about the fact that I'm using two webhooks within one Automation rule. For example:
1. Incoming webhook (trigger event)
2. Filter issues based on Step 1 webhook data
3. Outgoing (GET) webhook
4. Edit issue fields based on Step 3 webhook
Because I'm receiving data from two webhooks, will the {{webhookdata}} smartvalue in Step 4 automatically reference the last webhook data that I got in Step 3, and not the data from webhook in Step 1. This is what I'm struggling to understand so I can better structure my workflow.
Hope this makes sense !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So try to use {{webhookResponse.body}} and make sure you select Wait for response checkbox.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to know that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Sagar _Sparxsys_ I am using two web requests in Jira Automation Rule and I need to fetch status code for both requests in the end of both requests using {{webResponse.status}}. So, I am using two requests, how can I refer separately as I am not sure for which web request status is returning using {{webResponse}}?
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.