I'm trying to create a jira custom field plugin which receives file. I have both edit and view mode but it turns out that the field only displays in edit mode like this
And when I add field, it will display:
And when I click Edit field, I receive the message: The field was added successfully, but you do not have edit permissions. If I click where is my field?, I receive this message, although I set the default value for it:

The "There is no custom value" is what I type in view.vm file. But I still can not see the field in the default issue view. Also, I use atlas-create-jira-plugin, so the versions is automatically set. What my be my problem?