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

> 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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,439 views 0 8
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