Hello,
I have a simple "Send Web Request" using Automation for Jira. The webhook URL is as follow,
http://localhost/job/ping/buildWithParameters?HOST={{issue.CustomField.10059.value}}&token=123456789123456789
The web request runs successfully and it triggers the jenkin build successfully. However, the {{issue.CustomField.10059.value}} comes out empty and Jenkins doesn't received anything. Doesn't matter what field I put there (even defaults like the issue key) it's never sent to Jenkins.
Anyone know how I can fix this?
Hey there Elvy,
If you add a Log action with the value {{issue.CustomField.10059.value}} before the webhook and check the audit logs, does the value appear? What type of custom field is it?
In general, the syntax for a custom field is:
{{issue.customfield_10059}} (case is important) or you can address it by name
{{issue.My custom field name}}
See more information at https://docs.automationforjira.com/issues/find-the-correct-smart-value-for-fields-in-jira.html#finding-your-smart-value
Cheers,
Mark C
Hi Chai,
I actually fixed it by adding a Log action before sending the web request. That seems to fixed the problem. Thanks for the help.
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.