Forums

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

Scriptrunner Listener: issue closed and trigger e-mail

Carla Ann Rowland
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 4, 2020

Script Runner newbie who needs help. (thrown into deep end of pool)

I am learning script runner as fast as I can for work but I am stuck.

I have a customized field that if true, then JIRA sends an e-mail when the issue is closed. 

SO should I check that the status is closed and then if the custom field is true?

 

1 answer

0 votes
Sebastian Krzewiński
Community Champion
May 4, 2020

Hi @Carla Ann Rowland 

Try set on closing tranistion event that your listener will be waiting for. Then you will be checking only if issue is from certain project.

You can also create a custom event used only in specific project. Then you don't need check issues project in condition.

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer