I am getting a number instead of the actual status while using #lookupIssues

Based on the documentation provided by atlassian, we can get the status from the #lookupIssues, however when I'm getting a number instead of the actual status. 

 

HTML:

<table>
<tr>
<th>Key</th>
<th>Summary</th>
<th>Reporter</th>
<th>Status</th>
</tr>
{{#lookupIssues}}
<tr>
<td style="width: 80px;">{{key}}</td>
<td>{{summary}}</td>
<td>{{reporter.displayName}}</td>
<td>{{status}}</td>
</tr>
{{/}}
</table>

 

Result:

I'm getting the number 6 under the status column.

 

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 16, 2021

Hi @Jose Ariel Laureano Ramirez -- Welcome to the Atlassian Community!

Yes, I believe that is correct.  To get the name of the status, please use {{status.name}} with Lookup Issues.

Providing the id number allows you to compare status values which may have the same name and different values across projects.

Best regards,
Bill

Excellent, it worked! thanks a lot!..

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events