Forums

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

Script has failing in postfunction with scriptrunner

sm.park April 6, 2021

Hi,

I using to send to email with scriptrunner.

but sometimes script has failed.

I want to send a notification to the specified user when a specific component is selected in the ticket. Is there a good way?

 

I use to this.

 

Condition and Configuration

"Componentname" in issue.getComponents()*.name || "Componentname" in issue.getComponents()*.name

 

Email template

blahblah ~

$issue $issue.summary  blahblah~

blahblah ~ <% out << issue.getCustomFieldValue( ...) %>

 

Subject template

($issue) $issue.summary

 

 

1 answer

0 votes
Nir Haimov
Community Champion
April 6, 2021

Hi @sm.park ,

In which cases your script fails?

In which line it fails?

Can you send your actual script and point which line code is failing?

sm.park April 7, 2021

I don't know.

But sometimes the script failed.
I solved this problem by writing another script.

Thanks for your answer.

Suggest an answer

Log in or Sign up to answer