Forums

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

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
Sebastian Krzewiński
Community Champion
September 5, 2022

Hi @van den Bergh, Marius, Vodacom (External) 

 

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

 

Regards,

Seba

Perfect thanks!!

Suggest an answer

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

Atlassian Community Events