Display issue type of linked issues & sub-tasks on main issue

KeriB August 2, 2011

Hello,

I am wondering if it's possible to display the issue type (written out, not just the icon) of linked issues and sub-tasks on the main issue view. People are saying that it's hard to tell what issue type they are once you have several sub-tasks and/or linked issues under a main issue. I've tried everything I can think of and can't seem to find a way to display this. Any ideas?

Thanks!

Keri B.

3 answers

1 accepted

2 votes
Answer accepted
Edwin Chan
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 2, 2011

Modify

atlassian-jira\WEB-INF\classes\templates\jira\issue\field\issuetype-columnview.vm

Indent it properly so you can read the code, and simply append:

$textutils.htmlEncode($!issuetype.nameTranslation, false)

after #end after the img tags.

Eva
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.
November 14, 2011

Ah, realize that solution is for issue type and not status. Is there a way to add status as text instead of icon?

EDIT: I found the status-column.vm, but it only used for subtask panel and not issue links panels. Is there a way we can "copy" subtask panel to issue-link panel?

Thanks again

Eva
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.
November 14, 2011

Hi, thanks for sharing this information. this is just what I was looking for :)

I try to edit that file with that extra line of code, and restart JIRA, but I am not seeing the status as text. I try putting that line right after the first else statement (since i want the text to be left of the icon) but that didnt work either. Thoughts? Is this solution has version restriction?

Thanks again!

Edwin Chan
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.
November 14, 2011

The API might be different for the version you're using.

I would suggest you first test if you're putting the line of code in the right place. Since you said you placed it after the first #else, try putting a hard-coded string in there. You might also want to check the logs to see if there were any velocity errors when you put the line of code in.

You can also try this line for 4.2.2:

$issuetype.getNameTranslation()

2 votes
Jobin Kuruvilla [Adaptavist]
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 2, 2011

You might have to modify the velocity template for issuetype column view (issuetype-columnview.vm) to add the name along with icon!

Eva
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.
December 8, 2011

Doesnt work for 4.4.1 onward

0 votes
Anthony Wu
Contributor
December 8, 2011

JIRA is too overzealous with the ICONs. Sure they look pretty, but at the end of the day, they are really useless a lot of the times w/o the text.

Suggest an answer

Log in or Sign up to answer