Forums

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

Lookup Issues in email

Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 1, 2021

Hi

Am trying to do something like the below, but I want to show the Summary as well in the bullet pointed list. What is the syntax for that?

Hey team - we've got the following issues left in this sprint:
{{#lookupIssues}}
* {{key}}
{{/}}

 

2 answers

1 accepted

1 vote
Answer accepted
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.
March 2, 2021

Hi Curt,

Try this:

Hey team - we've got the following issues left in this sprint:
{{#lookupIssues}}
* {{key}} {{summary}}
{{/}}
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 2, 2021

Hi @John Funk 

No....I just tried that again, but all it returns are the keys, no summary.

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.
March 2, 2021

sub out the word summary for the key just to see if that works. 

Like Curt Holley likes this
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 2, 2021

Interestingly.....that doesn't work. but Summary is supposed to be an available field.

The plot thickens!!

 

Thanks!!!

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.
March 4, 2021

I am using this with no problems at all:

<ul>{{#lookupIssues}}
<li><a href="{{url}}">{{summary}}</a></li>{{/}}</ul>

Like Curt Holley likes this
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 4, 2021

Well @John Funk that works a treat. Love it!!

and sure enough, wrapped up in "all your fancy stuff" summary does indeed get produced.

I had raised it with atlassian and their advice was to duplicate the JQL in a branch, which didn't solve the problem, and meant an email was generated per issue.

I've added in the key and it looks great!

<ul>{{#lookupIssues}}
<li><a href="{{url}}">{{Key}} - {{summary}}</a></li>{{/}}</ul>

Thank you!!!

Like John Funk likes this
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.
March 4, 2021

Awesome! Glad it worked for you.  

0 votes
frother
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 3, 2021

Hi Curt,

Are you able to try copy and paste this value into a log action, does that print the value correctly to the audit log?

Might be an email formatting issue?

Cheers.

Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2021

Thanks for that @frother good idea.

I tried it going into the comments section of an issue via a manual trigger. No go.

Yet, when I try {{Key}} or {{URL}} and even better {{Key}} and {{URL}}.....no problem. Just {{Summary}} doesn't seem to want to work with {{lookupIssues}}

Best I raise it with Atlassian I think.

Suggest an answer

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

Atlassian Community Events