Script Post-Function

Hi

I have installed a plugin and did all the requirement process listed below but it doesn’t send an email notification when that custom field exceed 1000. And one other thing I am missing, on the Preview issue key what information I should put?

Workflow

Script Post-Function: Update parameters of the script Post-Function for this transition

Condition: ((cfValues[' Estimated Value '] ?: 0) as Integer) >= 1000

Email template: Over with 1000

Subject template: Estimated value exceeded

To address: tsheo@gmail.com

To issue fields: tsheo (user)

From address: tsheo@gmail.com

Preview Issue Key: ?

1 answer

1 accepted

0 vote

> Condition: ((cfValues[' Estimated Value '] ?: 0) as Integer) >= 1000

Is this a typo or is there really a space at the end of your field name?

What should you put in preview issue key? An issue to test the condition with.

Ok..i see, there should not be a space on my field name and it worked. How can i identify that when it trigger an email it should include the issue number on the email message?

Thanks

Read the docs... add ${issue.key} to the template.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

175 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you