JIRA postfunction send an email, "Delivery date" field

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&nbspdate

 

But none of this syntax is working.

 

Thanks in advance.

 

Regards,

1 answer

1 accepted

This widget could not be displayed.
Tarun Sapra Community Champion Aug 08, 2017

"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

 

send_email.png

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!

Working at perfection!

Thanks a lot Tarun!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

72 views 1 0
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you