Hello,
I'm sending automatic emails when some transition occured on my workflow.
I was able to send in the emails some values like "assignee" with the code "$issue.assignee" or the summary with "$issue.summary" but I'm not able to send the value of default field like "Delivery date". It seems that the space between "Delivery" and "date" is the source of the problem.
Do you have any idea on how to get this value in custom email?
I tried:
- $issue.Delivery date
- $issue.Delivery_date
- $issue.['Delivery date']
- $issue.('Delivery date')
- $issue."Delivery date"
- $issue.Delivery%20date
- $issue.Delivery date
But none of this syntax is working.
Thanks in advance.
Regards,
"Delivery Date" is not a system field, rather it would be a custom field in your JIRA instance, thus it's not available on the default issue object.
Please see here -https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_send_a_custom_email
Hey Tarun,
You are on all subjects :)
Thanks for your answer. You are totaly right "Delivery date" is a custom field contrary to what my boss said to me...
I will try your solution and upvote!
Thanks a lot!
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.
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.