Hello,
I'm setting up a basic notification to our inventory guy when someone moves equipment around and it's just a simple if field is marked Yes in the closing transition (which must contain a comment) then refetch data and send an email containing that comment.
I have another slightly more complex automation task that does basically the same thing so I know this should be working.
Halp.
- Stephen
Good idea putting in the Re-fetch, as I was wondering if you are encountering a timing issue. You may still want to confirm if the transition is still occurring *before* the dialog appears and so is user-bound time for entering the comment.
Regardless, in your email please consider treating the comments as a list, so I believe to get the last one you need:
{{issue.comments.last.body}}
Kind regards,
Bill
So yeah, just swapping the tag for that one fixed it. Makes no sense to me why it needs that when the other task I have calls the comment with comment.body just fine. There must be a bug there...
But it's working now which is all I care about. :)
Thank you!
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.