Forums

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

How to get title and image of status from JIRA

lpopek October 29, 2018

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? 

0 answers

Suggest an answer

Log in or Sign up to answer