Sending each user from custom field a list of his requests

Pavel Pristupa June 5, 2023

I'm trying to create a mailing list of emails to each user with his list of problems through lookupissues. It is not clear how to divide the tickets, that everyone received their own. Please tell me.

2 answers

0 votes
Aditya Verma
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.
June 5, 2023

Hi @Pavel Pristupa ,

This seems to be a good use case for filter subscriptions. For example, you can create a filter subscription like this -> assignee = currentUser() AND project = "Test Project (Test)".

Each user who subscribe to this will filter will only receive list of tickets assigned to them.

More details about filter subscription here.,

Thanks,
Aditya

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 5, 2023

Hi Pavel,

Can you share the actual rule? 

Also, if you just send the Email to the Assignee, they should only get their tickets. 

Pavel Pristupa June 5, 2023

Hi,
the case is as follows: we have a custom field "Manager", the customer puts his manager in this field. We want to send tickets to managers by letter for a month. 1.Trigger planned 2.Search issues 3.Send email The problem is the following. in the sender I put {{lookupissues.customfield_10636.emailAddress}} Error: The email could not be sent because the address is not specified in the recipient field. If you specified a link to the field, it may be empty. As a result, we want managers to receive a list of tickets where they are marked as managers

Pavel Pristupa June 5, 2023

image.png

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 7, 2023

Just try: {{issue.customfield_10636.emailAddress}}

Pavel Pristupa June 7, 2023

Similar error

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 7, 2023

Maybe try adding a log statement prior to the Send email step to see what value it has for the Manager field. 

Other option is to try it with a single issue and not using lookupIssues to see if that works in general. 

Pavel Pristupa June 7, 2023

The log writes "Record"

Pavel Pristupa June 7, 2023

without the "Find tasks" action, the log records the email address

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2023

Can you post the audit log results of when you run it? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events