Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

My automation is not returning a list of issues in the email

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

send email picture.png

So the email is sent but the issue list is empty. When I check the audit log it comes back with:

audit log.png

Where am I going wrong?

3 answers

1 accepted

0 votes
Answer accepted
Rachit Singhal
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.
Oct 10, 2023

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

email snapshot.png

Rachit Singhal
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.
Oct 11, 2023

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?

Hi @Rachit Singhal 

This is what I get when looking in the audit log

Audit Log Risk Review.png

Thank you to @Rachit Singhal and @Bill Sheboy

I have managed to work out that the issue was within the email.

Rachit Singhal
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.
Oct 16, 2023

That's great.

0 votes
Bill Sheboy
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.
Oct 11, 2023

Hi @Serena Dickson 

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

Hi @Bill Sheboy 

Sorry for the late response. Below is the screen shot of my advanced branch.

Thank you

Serena

Advanced Branching.png

Bill Sheboy
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.
Oct 16, 2023

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

Like Serena Dickson likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events