Can't Get Issue Type to Display in Email Automation Table

Tom Scoggin
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.
August 28, 2024

I'm building an email that sends ticket data to a user. It's a manual trigger and seems to be working just fine except for Issue Type. I can't get it to populate the Issue Type field in the table. Below you can see what I'm using for that field. I'm using the {{#lookupIssue}} function to get my tickets. 

I've used: issueType.displayName, Issue Type, customfield_10106, customfield_10106.displayName, Type.name and many more.

 

I will put the entire code below 


All

{{#lookupIssues}}{{/}}

Issue TypeIssue KeyAssigneeTitleDescriptionStory Points
{{issueType.displayName}}{{key}}{{assignee}}{{summary}}{{description}}{{Story Points.format("#")}}

Issue Type.PNG

3 answers

1 accepted

0 votes
Answer accepted
Tom Scoggin
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.
August 28, 2024

I guess everything I read online was true. It looks like the issueType field is a custom field and thus does not show up in a {{lookupIssues}} response. The way I got around this was to: branch off of the original ticket, use JQL as the "Type of Related Issues", make sure "Process all issues produced by this trigger in bulk" is checked, add table code to my email using the {{#issues}} code {{/}} to render the table. 

Clean up ticket report.PNGEmail content.PNG

 

Hope this helps someone.

Tom Scoggin
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.
August 28, 2024

Make sure you make the email recipient "Initiator" unless you have a group or specific person you want the email it to Always go to.

0 votes
a.cagle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2024

This smartvalue works on my Jira instance.

 

{{issueType.Name}}

 

I hope this works for you.

Tom Scoggin
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.
August 28, 2024

Nope. Strange how this is the only field that will not display.

0 votes
Marc - Devoteam
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.
August 28, 2024

Hi @Tom Scoggin 

That smart value does not exist.

You can use: {{issue.issueType.name}}

Tom Scoggin
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.
August 28, 2024

@Marc - Devoteam This didn't work in the table but did work as a log action. Any thoughts on why? Could it be because it's part of a lookupIssue function?

Tom Scoggin
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.
August 28, 2024

I put the {{#lookupIssues}} function in a log action and it does not show the Issue Type field info.

Suggest an answer

Log in or Sign up to answer