Can I include webhookResponse.body.xx as part of my webhook url?

Jar Lady March 13, 2024

Hihi, i have a jira automation rule whereby i need to retrieve webhooks response data e.g. {"animal:"cat"}. I want this to be included as part of the webhooks url e.g.{{webhookResponse.body.animal}} so that it will be generated as Can this be done in Jira automation rule? My jira software version is v8.20.10.

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
March 13, 2024

Hi @Jar Lady 

Yes, that should work.

What do you observe happening? 

And, have you confirmed that the content of the {{webhookData.body}} (or {{webhookReponse.body}} ) contains the information in the format you expect?  You could confirm this by writing the value to the audit log and checking after the rule execution.

For example...

  • Are there multiple records in the body, such as: cat, dog, squirrel, velociraptor?
  • Is there any encoding in the attribute, such as newlines, tabs, etc.?

In these cases, adjustments would be needed to include the value(s) in the URL.


If that does not help, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Kind regards,

0 votes
Jar Lady March 13, 2024

Issue is resolved. Some mistake on the URI at my end. Thanks!

Suggest an answer

Log in or Sign up to answer