Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Smart Values {{issue.components.name}} - return empty value

Dear Community,
It is probably a stupide question, but I am trying to set up an automatic rule that will trigger a weekly email with a list of tickets which should include:

  •  Issue key= {{key}} = OK
  • Components= {{components.name}} = KO 
  • Status= {{status.name}} = OK
  • Update date= {{updated.mediumDate}} = OK
  • Summary = {{summary}} 

The rule itself, is working fine, but I am not receiving any value for the [components field].

I tried different typo:

issue.components.first.name
components.first.name
components
component
component.name
components.name 

but, still not working  ;( Jira-7.JPG

Thanks for your help!

Oh the HTML

<table style="width:90%;border:1px solid black;">
<tr style="height:30px;">
<th style="border:1px solid black;vertical-align:bottom;width:80px;">Issue Key</th>
<th style="border:1px solid black;vertical-align:bottom;width:80px;">Components</th>
<th style="border:1px solid black;vertical-align:bottom;width:80px;">Status</th>
<th style="border:1px solid black;vertical-align:bottom;width:80px;">UpdatedDate</th>
<th style="border:1px solid black;vertical-align:bottom;width:300px;">Summary</th>
</tr>
{{#lookupIssues}}
<tr>
<td style="border:1px solid black;vertical-align:top;width:80px;"><a href={{url}}> {{key}}</a></td>
<td style="border:1px solid black;vertical-align:top;width:80px;"> {{components.name}}</td>
<td style="border:1px solid black;vertical-align:top;width:80px;"> {{status.name}}</td>
<td style="border:1px solid black;vertical-align:top;width:80px;"> {{updated.mediumDate}}</td>
<td style="border:1px solid black;vertical-align:top;width:300px;"> {{summary}}</td>
</tr>
{{/}}
</table>

2 answers

1 vote
John Funk Community Leader Apr 06, 2021

Hi Beatrice,

Maybe try {{issue.components}}

Sadly it's not working... I start to think that it might be related to this specific smart value? as I followed recommendations from this page
-https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/

John Funk Community Leader Apr 06, 2021

According to that, then this one should work:

{{issue.components.name}}

Indeed, but it's not working! 

Hi @Beatrice_Dutoit 

Unfortunately, Lookup Issues does not support the components field yet:

https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/#Smartvalues-general-{{lookupIssues}}

Here is the suggestion to add more fields to Lookup Issues:

https://jira.atlassian.com/browse/JRACLOUD-75018

Best regards,

Bill

Like Beatrice_Dutoit likes this
John Funk Community Leader Apr 06, 2021

Ah, I actually missed the lookupIssues code in her example. Thanks for pointing that out! 

One more thing to try, @Beatrice_Dutoit 

If you just need a weekly email / report, you could create a filter, add the fields you need, save it, and subscribe to have it send you an email on a schedule.  Please look here for more information:

https://support.atlassian.com/jira-software-cloud/docs/save-your-search-as-a-filter/

https://support.atlassian.com/jira-software-cloud/docs/work-with-search-results/

Like # people like this

@Bill Sheboy 
Thanks a lot for your feedback.

It's exactly what I will be doing then!
But happy to know that is not related to a wrong implementation :)

Like # people like this

If you're ok using something other than native Automation, our app, Notification Assistant for Jira would let you set up scheduled notifications. We released the first version of our Template functionality today, and plan to release further end user ability to customize it in 2-4 weeks.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

405 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you