Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Question about automation

Marcos Lourenco November 19, 2024

Hi Community,

I'm working on a Jira automation that sends daily email notifications. Currently, the automation retrieves multiple issues and displays their keys, summaries, and other details in separate blocks.

I'd like to optimize the email format to present the information in a more readable way. I'm aiming to display each issue on a separate line, including its key, summary, and any other relevant details.

For example, instead of:

**Issue Keys:**

ISSUE-123, ISSUE-456, ISSUE-789

**Issue Summaries:**

Fix the broken link, Improve page load time, Optimize search functionality

I'd like to display it as:

ISSUE-123 | Fix the broken link

ISSUE-456 | Improve page load time

ISSUE-789 | Optimize search functionality

Does anyone have suggestions on how to achieve this format within Jira Automation? Any help or guidance would be greatly appreciated.

 For reference, I'm using the following components now: 

 

When: Scheduled; Then: Lookup issues; And: Send email

Thanks.

1 answer

1 accepted

4 votes
Answer accepted
Harrison Ponce
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.
November 19, 2024

Hi @Marcos Lourenco , this is a fantastic question and use-case!

This would be possible by doing the following in your email body for the automation:

{{#lookupIssues}}

{{key}} | {{summary}}

{{/}}

the first and third line are basically the smart value for all the issues returned in your lookup and the smart values you place, in the order and any characters, will iterate over that. This should give you exactly the format you wanted to display as.

Give it a try and let me know what you think!

Marcos Lourenco November 19, 2024

Hi @Harrison Ponce

Thank you very much!

I have just applied your recommendation and it works perfectly fine. 

I really appreciate your help. Thanks again!

Like Harrison Ponce likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events