Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

E-mail different assignee's there list of items matching a JQL

Hi all

I'm trying to set up an automation rule which will send out a daily e-mail to assignees of issues that are closed but haven't got any time tracked against them.

So far I've got the following:

image.png

So I do get a list of issues that match my criteria and what I wanted to do is send each assignee his/her list of matched. Thought it was as easy as adding the assignee as receiver of the email but that generates errors.

image.png

 

My errors:

image.png

Any thoughts on how to solve this and/or achieve this use case of merged mails containing personalized content for each of the attendees who match with the JQL?

Thanks!

2 answers

1 accepted

0 votes
Answer accepted
avo Atlassian Team Apr 22, 2021

Hey @Maarten Schouppe

I see two problems here,

The first is with your use of the lookup issues. As it stands now the "assignee" in the "To" field in the email doesn't exist as there is no issue in context. As @Juan Manuel Ibarra mentioned the issues in the lookup issues action are stored in {{lookupIssues}} not in the current issue context (which is what "Assignee" is accessing) . To get the assignee you'd have to select a specific issue from the {{lookupIssues}} like this: {{lookupIssues.first.assignee}}

The second is that to solve your usecase of looping over issues and bundling would require the ability to loop over smart values, which unfortunately isn't in the product yet. We should be tackling it soon though! I've added this post to the ticket tracking requests for the feature which counts as a vote for it: https://codebarrel.atlassian.net/browse/AUT-81

Cheers,
Andrew

Great feedback Andrew, thanks!
Looking forward to that new feature! :-)

Hello, once you use the lookup you must use the smart value {{lookupIssues}}

here you can see what you can do with that variable https://support.atlassian.com/jira-software-cloud/docs/automation-actions/#Automationactions-Lookupissues

 

Regards!

Thanks for your quick answer Juan.
I did use that value in my e-mail.

image.png

 

But my JQL finds issues for 5+ assignees and 20+ issues.
So what I am trying to do is to send each of those let's say 5 assignees the same email but with their own issues listed. 

My assumption was that JIRA would be smart enough to loop through the issues, bundle them per assignee and then send the email to each of those when I selected 'assignee' as the receiver but apparently it's not that easy :-)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

857 views 30 33
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you