How to set a select list CF displays pictures?

xinan liu May 18, 2015

I want to set a CF which has three options, which the options can display some pictures, just like a red flag, a red dot, a little flower. Like the issue type icon.

How can I set it? Which CF type should I use? Can select list contain icon link? Which plugin shoud I use?

Thanks very much!

2 answers

0 votes
Bertrand Drouhard May 21, 2019

When you create / edit the issue, because the field is based on a html <select>, you can't see the image. And if you add a test, it will be displayed beside the image on the view screen, or from the Confluence page where you display the JIRA issue.

My solution was to add a hidden <span> that will display the text on the <select>, but not on the view screen:

<img src="https://mywebsite.com/storm.png" height="30" valign="middle"><span style="visibility:hidden" >Storm</span>
0 votes
Shanye
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 19, 2015

Using the 'Select List (Single Choice)' and 'Select List (Multiple Choices)' custom field types built into JIRA, you can use the <img src=" "> HTML tag to insert images into your options. The images don't appear when selecting inputs for the fields, however - only when the custom field is shown on the 'Issue Details' screen for the JIRA issue.

This, as well as another option, is mentioned in the standing feature request for what you're after: https://jira.atlassian.com/browse/JRA-5703

Suggest an answer

Log in or Sign up to answer