Forums

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

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

Jose Ariel Laureano Ramirez
Contributor
August 16, 2021

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.
August 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

Jose Ariel Laureano Ramirez
Contributor
August 16, 2021

Excellent, it worked! thanks a lot!..

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, rovo agent workshop, build a rovo agent, interactive workshop, Atlassian Intelligence, rovo agent building, automated triage, ai agents, cloud app development, atlassian learning, rovo studio, developer productivity, Rovo workshop

Let's build A Rovo Agent 🤖

Want to build your own Rovo Agent? Join this interactive workshop and dive into a powerful Rovo use case: improving resolution time with automated triage.

Save your spot
AUG Leaders

Atlassian Community Events