I have a custom email that is being sent on resolution using the Script Runner Send Custom Email post function.
With in the email, I want to include the Created Date. I tried using issue.createdDate and issue.created.date neither worked. What do I need to use to get the date in the email?
This is a rare occasion when you cannot use the property syntax - see my comment here: https://answers.atlassian.com/questions/251026/script-runner-how-do-i-pull-created-date-information-from-an-issue
Also, because OSWorkflow mangles the parameters, you need to do:
<% out << issue.getCreated() %>
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot