Email alert when Work Ratio over 95%

Hi

I want to use script runner to send an email when the work ratio on tickets is over 95%.

I pick the event 'Work logged on Issue' as the event trigger and base it on all projects. The part I am struggling with is the condition. Once the condition is confirmed I can finish the rest of the listener configuration.

The following is the JQL that I want to be triggered as the condition and not sure how to proceed:

"workratio > 95 AND Sprint in openSprints() AND originalEstimate != 0 ORDER BY originalEstimate"

Any help on this would be appreciated.

Thanks

Adam

1 answer

Can you check if subscription filter can do the job?

Add another clause  in the JQL i.e. updated in past 1 hour; and get the subscription to run every hour.?

Rahul

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 yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

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