It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Groovy + mailhandlerd custofield null during script execution

Fabrizio Galletti Jun 13, 2012

Jira 4.4.4

Groovy latest version 2.0.6

I'm encountering and annoyng situation

I've a listener defined that oncreation and oncomment send custom email

Oncomment works fine, during the oncreate i can't recieve any mail. seems that he can't read any value from customfield , neither from watchers.

I've tried to modify the script to send the customemail to a direct email addresses and my intuition was correct, all custom field are null.

I'm using the enhanced mail handler (0.9.9) to create the issue could it be him? if i create directly from interface seems to work but customfield are all valued

1 answer

0 votes
Andy Brook Aug 22, 2012


Yes, there an outstanding 'bug' that is historical in how JEMH works. Many field values are not available to PostFunctions in issues currently created by JEMH. A lot of the 5.0+ features have trumped fixing it. It is on my roadmap but has not been fixed yet.

Fabrizio Galletti Aug 22, 2012

yeah noticed and solved in a different way :)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

scaling agile at the enterprise level with Valiantys

Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they can help ...

427 views 1 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you