How to get title and image of status from JIRA

I’m developing plugin in Jira, I want to display in my Velocity template title and image of certain issue in Jira.

In velocity I have something like this.

<tbody aria-live="polite" aria-relevant="all">
            #foreach ($issue in $action.getIssues())
            <tr role="row">
                <td colspan="1" class="confluenceTd">$issue.getKey()</td>
                <td colspan="1" class="confluenceTd"></td>
                <td colspan="1" class="confluenceTd">$issue.getStatus()</td>
            #end
        </tr>
        </tbody>

In function getStatus i get output

IssueConstantImpl[[GenericEntity:Status][sequence,3][statuscategory,4][name,In Progress][iconurl,/images/icons/statuses/inprogress.png][description,This issue is being actively worked on at the moment by the assignee.][id,3]]

How to get name of status from this function and image and put make the velocity only display image and status?

$issue.getStatus().getName(); // status name
$issue.getStatus().getNameTranslation(); // translated status name
$issue.getStatus().getIconUrlHtml(); // url for icon