You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have created an automation to send an email with a list of issues due for review and everything works apart from the list of issues in the email. My automation:
When: Scheduled
Every week on Mon at 9:00am
Then: Lookup Issues
Search for issues using JQL
project="IP" AND IssueType="Risk" AND "Next Review Date">=1w AND "Next Review Date">=now() AND resolution="unresolved"
For each: Smart Value {{distinctAssignee}}
Then: Lookup Issues
Search for issues using JQL
project = "IP" AND IssueType="Risk" AND "Next Review Date"<=1w AND "Next Review Date">= now() and resolution = "Unresolved" and assignee= {{distinctAssignee}}
And: Send email
So the email is sent but the issue list is empty. When I check the audit log it comes back with:
Where am I going wrong?
Hi @Serena Dickson ,
Can you share the snapshot of your email that you had received from this automation?
Please also check the email notification format of your account (recipient account)whether it is set to HTML or Text.
snapshot of email - I hope that is ok.
email notification format is HTML
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Serena Dickson ,
The problem is either lookupissues not returning any issue or smartvalues are not codded properly.
Can you check in the audit log section of automation if it is throwing any error for this execution?
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.
Thank you to @Rachit Singhal and @Bill Sheboy
I have managed to work out that the issue was within the email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's great.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suspect your second use of Lookup Issues returned no issues due to a problem in your advanced branch.
Would you please post an image of your advanced branch?
Kind regards,
Bill
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
Sorry for the late response. Below is the screen shot of my advanced branch.
Thank you
Serena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information. Please try changing your JQL for the second lookup issues call to use the account ID value from the branch variable, like this:
project = "IP" AND IssueType="Risk" AND "Next Review Date"<=1w AND "Next Review Date">= now() and resolution = "Unresolved" and assignee= {{distinctAssignee.accountId}}
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.