Forums

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

Issue view

kanchana wijerathna
Contributor
April 20, 2016

Is there any workaround for showing fields with no data in the issue view screen ?

2 answers

2 votes
Michael Partyka
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.
April 20, 2016

Hi,

as of now we can't show the custom field if it is empty, check the following issues

You have e.g. 1 open ticket according this topic:

https://jira.atlassian.com/browse/JRA-2997

 

1 vote
J.Fawkes
Contributor
April 20, 2016

You may try solution to override method getValueFromIssue (if that is your own created CustomField ):

@Override

@Nullable

public String getValueFromIssue(CustomField field, Issue issue) {

// TODO Auto-generated method stub

String value = super.getValueFromIssue(field, issue);

return (value == null) ? "" : value ;

}

 You may also check the following issues

https://jira.atlassian.com/browse/JRA-6697

https://jira.atlassian.com/browse/JRA-2997

if you want to display the custom fields then set some default value

 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events