Script Post-Function

Tshepo November 12, 2012

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 votes
Answer accepted
JamieA
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.
November 12, 2012

> 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.

Tshepo November 12, 2012

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

JamieA
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.
November 12, 2012

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events