Dear Members,
Good Day!!
I have made rule with the help of Knowledge Article but not working, PFB link.
Have converted 99 Hrs. to seconds but the condition not matching. PFB screenshot... Need your input to settle it, please. Using Jira Service Management-SAAS
What does not work as you expect? For example, if you write that smart value to the log before the condition test, does it contain a value greater than you expect?
I tried this and it worked for me.
Kind regards,
Bill
Hi @Bill Sheboy
Thanks for your reply...
Objective:
When project crossed hours limit email generated
Problem facing:
Have set rule limit of 99 hours in seconds, have tested the rule by adding hours in project but it is not generating email notification . PFB snap for reference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is curious...
Would you please post an image of the details of the Advance Compare Condition?
And, perhaps add a statement before the condition to write to the audit log the sum value: {{triggerIssue.worklog.timeSpentSeconds.sum}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Bill Sheboy
Thanks for reply..
Sure, PFB snap of condition. have already added above mentioned condition in Advance compare...
BR,
M Faizan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy
Stay Safe!!
Have checked thoroughly and came to know that this statement is precisely for issue exceed limit only i.e. If issue exceeds hours limit then fire an email.
I am looking for, If hours of particular Project is exceeds limit then intimate via email.
Can you please help me out against hours exceeds limit then shoot an email.
Thanks in advance.
BR,
M Faizan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Manon Soubies-Camy : Please help to find solution, that would be Great!!
" If hours of particular Project is exceeds limit then intimate via email."
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you want to find this for the entire project, not for one issue, I suggest trying this:
{{lookupIssues.worklog.timeSpentSeconds.sum}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy
Appreciate your reply...
I hope, have incorporated correctly as Automation is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two changes to make: remove the JQL from the scheduled trigger, and add a Lookup Issues action to use that JQL before your condition test.
Scheduled triggers may be used with or without JQL to gather issues. For your use case, we want "no JQL" so the lookup can handle the issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you also add the lookup issues action, as I cannot see the remainder of your rule.
That error seems to indicate that is not present yet. Please see my earlier responses for details. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please modify the rule like this to access the issue data...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy
Truly appreciate your time and patience...
POINT# 2
Thanks
BR,
M Faizan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two things to check:
Try running that JQL manually with advanced issue search (outside of the rule) to confirm it returns all of the issues you expect.
Next in the rule, after the Lookup Issues action, write the value for the sum of the time to the audit log. Does it match what you expect for those issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy
Thanks for reply...
Point #1 : It is also running in other Rule and works fine. If I Validate query it shows correct number of issues
Point #2: Can you please elaborate " write the value for the sum of the time to the audit log "
Appreciate your time , thanks
BR,
M Faizan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After the lookup issues action, add a write to the audit log to check the value:
{{lookupIssues.worklog.timeSpentSeconds.sum}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.