Issue view

kanchana wijerathna 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 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