Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Script has failing in postfunction with scriptrunner

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 Leader Apr 06, 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?

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
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