Forums

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

Jira Project Automation - Smart Values - Include Multiple Properties for a Ticket

Emily Lukasik
Contributor
June 25, 2020

Hello - I am looking to use Daily Automation to send a daily email of our open Jira Tickets that are marked as high priority.

 

I was provided the below syntax - so in my email I get a bulleted list of all Ticket Keys (that meet the criteria I specified in my JQL) - which are also hyperlinked.

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

 

However, I'd like to add additional details for each ticket.  For example...

* TICKET-123 | <<Priority>> | <<Created Date>> | <<Status>>

* TICKET-124 | <<Priority>> | <<Created Date>> | <<Status>>

The items in <<>> represent the fields I'd like to pull into my bulleted list for each ticket

1 answer

0 votes
John Funk
Community Champion
June 25, 2020

Hey Emily,

Try using this:

<ul>
{{#lookupIssues}}
<li><a href="{{url}}">{{key}}</a>] {{issue.priority}} | {{issue.created}} | {{issue.status}}</li>{{/}}
</ul>

Emily Lukasik
Contributor
June 25, 2020

Hi, Unfortunately that did not work.  It returned the following output:

  • TICKET-123] | |
  • TICKET-124] | |

And I confirmed I used the correct field names & they are populated.

John Funk
Community Champion
June 25, 2020

Well, that's not very nice of it to do that to you.  ;-)

I tested the below and got good results dropping the issue. in front. The documentation does not include priority, so I dropped that out to. I will ask them about that. 

<ul>
{{#lookupIssues}}
<li><a href="{{url}}">{{key}} </a> | {{created.longDate}} | {{status.name}}</li>
{{/}}
</ul>

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