I am working on creating a webhook with slack that pushes out a notification when a jira ticket is created. I have been successful for the most part but noticed one field won't come through which is the start date. The due date field does display though. Anyone have any suggestions?
New Resourcing Request:
*Summary:* {{issue.fields.summary}}
*Priority:* {{issue.fields."Priority"}}
*Reporter:* {{issue.fields.reporter.displayName}}
*Difficulty Level:* {{issue.fields."Difficulty level"}}
*Start Date:* {{issue.fields."Start date".format("MM/dd/yyyy")}}
*Due Date:* {{issue.fields."Due date".format("MM/dd/yyyy")}}
*Ticket Link:* {{issue.URL}}
Hi @Lydia Roth
Perhaps it is the use of fields, which usually is not needed with {{issue}}. Smart values are structure, case, and capitalization-sensitive, so please try using this instead for Start Date:
{{issue.Start date.format("MM/dd/yyyy")}}
When in doubt what will (or won't) work for smart values, please try the information in this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
If that still does not work, you can also use the custom field ID, which may be found with that same how-to.
Kind regards,
Bill
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.