Hi Community.
Is there any way to iterate over all the issues in Jira, and then extract the Project Lead(s) for the individual issue - but only get/notify the Project Lead once per project?
Example:
1) Search for all issue with a bad/inactive assignee
Result: (ABC-1, ABC-2, BCA-1, BCA-3 etc)
2) Get the List of Project Leads for those issues
Result: Can be done with Lookup issues of smart value {{issue.project.Project Lead.emailAddress}}
3) Notify Project Lead(s), that they should ensure to have correct assignee or un-assign the issue
Problem: The above logic will generate MANY emails times per Project Lead(one per issue)
Expected result:
Only notify the Project Leads ONCE, although the have multiple issues with inactive Assignees.
Even better:
Notify Project Lead once with the exact LIST of issues with inactive Assignees
Is there a way for filtering out duplicate records here? (Or stop the iteration at first issue per project)
Hope you can help here.
Thanks in advance
Morten