Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

postfunction custom email and update issue history

Peter Brodt November 14, 2019

I have written a scriptrunner postfunction which sends a custom email during a transition. Our customers would like to see in the issue history that the email has been sent. Is there a way to add a history entry with that information. I haven't found anything similar.

Peter

1 answer

0 votes
Kevin Johnson
Community Champion
November 14, 2019

Hi @Peter Brodt 

If you would like to see in the issue history that the email has been sent, like a comment in the issue or a field where a value can be updated like "email sent" can be done through the same post function with scripts, just with the condition like if the mail is sent -- also update a  value of a custom field or comment .

Hope this might work ..!

Thanks ,

Kevin.

Suggest an answer

Log in or Sign up to answer