Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,610
Community Members
 
Community Events
168
Community Groups

Status smart value {{status}} returning number, not text

Hi there

I am perplexed, seems to be a normal state for me these days:-)

I am using a scheduled automation to email an open issues HTML table to task owners on a daily basis. Everything is working fine, except for the {{status}} column, which returns, what seems to be the dropdown option number and not the text value.

HTML below, Any advice?

Much appreciated 

Marius

 


<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
padding: 15px;
}
</style>
</head>
<body>

<h2>Daily Issue Status Summary</h2>
<p>The below table contains all current actions that requires your attention. Kindly review, action and close these tickets in Jira by following the provided "Key" links </p>

<table style="width:100%">

<tr>
<th>Program</th>
<th>Key</th>
<th>Status</th>
<th>Due Date</th>
<th>Issue Owner</th>
<th>Issue Name</th>
<th>Latest Comment</th>
</tr>
{{#lookupIssues}}
<tr>
<td nowrap>{{customfield_10750}}</td>
<td nowrap><a href={{url}}>{{key}}</a></td>
<td nowrap>{{status}}</td>
<td nowrap>{{duedate}}</td>
<td nowrap>{{"Task Owner"}}</td>
<td>{{"summary"}}</td>
<td>{{"Latest Comment"}}</td>
</tr>
{{/}}
</table>

</body>
</html>

Capture.PNG

1 answer

1 accepted

6 votes
Answer accepted

Hi @van den Bergh_ Marius_ Vodacom _External_ 

 

Try to use {{status.name}} ;) {{status}} will return id not a name that Jira display.

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS

Atlassian Community Events